The input is inside a wrapper-div which has “position: relative”.
I’m on Windows 10 Pro.
I’ll try to use sp-textfield later on, however, it won’t match the look of my UI probably - but if it’s customizable via css it might be fine.
It does compile I guess but I still wouldn’t want to have those errors in my code all the time.
At least I assume that it’s related to Typescript, since I checked out the “UI-react-starter” project and the sp-tags don’t show any errors there.
@kerrishotts Are there already plans for fixing this bug?
I think it can be very confusing for users when input fields are prepopulated with data and the text is scrolled out of the inputs.
While I’m at it, here are some more feature requests regarding inputs:
support HTMLInputElement.select()
support HTMLInputElement.focus()
styleable placeholder (defaults to italic which can’t be changed)
I tried it out and it works. However with the high timeout settings, the textfield ended up being select (blue background) which isn’t very nice looking. I reduced the timeout values to 1/10 and now it’s fine. Cheers.
Thanks for the feedback. I have an average PC and so I will leave it at those values for now. But if I should get any problems from users, I know where I might want to look.
Once Adobe gets around to fix this, I will remove it anyway. Cheers.
I’ve run into a little problem with this hack. When the container div is hidden, the hack doesn’t work. And once I unhide the div, the textfield content is messed up. Any ideas how to get around that?
It sort of works - thanks. But there’s a short blue flashing of the text when it’s selected and exited, which is hacky as hell. Can’t wait until this one gets fixed.