Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ebay-textbox: content not scrolling when swiping #2087

Closed
randybascue opened this issue Jun 27, 2023 · 5 comments
Closed

ebay-textbox: content not scrolling when swiping #2087

randybascue opened this issue Jun 27, 2023 · 5 comments

Comments

@randybascue
Copy link

Problem

The input isn't scrollable to the left-right when typing. It's difficult editing an input value or making a selection.

IMG_4EE8A1F2F387-1

Let me know if you need me to wire a prototype.

@randybascue
Copy link
Author

We prefer opting for a textarea when input has a chance to be long but we can't ensure that'll be the case every time.

@LuLaValva
Copy link
Member

It looks like this is actually native behavior for the HTML input component on Safari, we aren't doing anything special to prevent it. You can check with any other default form, like the form example on w3schools. One of our core principles is that we don't override any default browser behavior, so even though I am not a fan of the way this works I don't think it should be changed.

@randybascue
Copy link
Author

@LuLaValva bummer. If it's a browser issue then I guess it's out of our hands, from what I'm understanding. Quite the irritating interaction (or lack thereof) from Safari.

@LuLaValva
Copy link
Member

I agree, this seems like an unfortunate oversight at the browser level. As much as I'd like to have this fixed, we need to maintain consistency with native components so it is out of our hands. The best we can do is opt for textarea when input has a chance to be long, like you had suggested @randybascue.

@randybascue randybascue closed this as not planned Won't fix, can't repro, duplicate, stale Jul 12, 2023
@randybascue
Copy link
Author

@LuLaValva Closed as not planned/won't fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants