-
Notifications
You must be signed in to change notification settings - Fork 13.5k
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
Cannot select text within input inside a scrollable view #1475
Comments
+1 Definitely some weird behavior going on here. |
thanks for the example. how important is that to you? there's some debate about how much to support mouse specific interactions on a mobile framework and community feedback would be helpful. |
While that may be the focus now lets keep in mind that desktop browser support is still nearly half the market share - the obvious answer seems like there should be a shared priority. Saying desktop browsers aren't a priority makes a lot of assumptions about how a developer may actually use the framework too. For example: I am currently building a web app with Ionic and when it's done I will use build scripts to tailor the experience for Android/iOS apps. This allows me to keep a unified code-base, which is very, very powerful. |
The project I'm currently working on where I discovered the issue has a requirement for both a desktop web app and a mobile app. Like @gigablox we built a unified code-base for all platforms using Ionic. So in this case, it's very important to me. For the most part Ionic works very well on the desktop browser and I think supporting that use case just makes Ionic all the more compelling. |
I'd caution that Ionic is a mobile framework, so YMMV when it comes to desktop stability, especially on older browsers like IE 8 or 9. We do usually develop on desktop though, and support for modern browsers is pretty good just by coincidence. I can't guarantee that all desktop only bugs will be addressed, but this one should get fixed. |
Yea I mean I can't speak on @bostondv 's behalf but I feel like it's reasonable to ask for IE10+ bug fixes that are seemingly critical. I wouldn't expect support for IE8 or IE9 because then I would be a terrible human being haha. |
I agree, but glad to hear this one should get fixed :) |
+1 |
i have the same problem.. |
I'm having the same problem. Text is not selectable on the desktop or on mobile. And not being selectable on mobile is the bigger concern, it means that people cannot copy/paste the text in my app. Which is quite important. |
After two years I have the same problem, also on mobile!! Is there any solution? Thanks |
2018 still a problem. Guys this is a silly bug to have. Ionic works great on desktop but this is a behaviour that's very strange for users who are used to selecting text with the mouse. I understand "focus" might not be on desktop, but this can't be hard to fix. If you could allow us to to call Please guys! |
@eeschiavo @BrianPurkissClarity @erivan Here's my nasty hack to fix this issue.
This is a very rough fix and I'm in a hurry to fix an issue for a client so still need to check if there's any serious negative side effects from doing this - apart from the obvious that you can't drag the slides anymore, in my case doesn't matter because I have buttons for this. But anybody else coming here you can try this approach. @IonicProSupport it would be nice if we had a nice public function for accessing |
Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out. |
On a desktop browser (tested Chrome and Firefox latest) the text content of an input or textarea within an cannot be manipulated with the mouse cursor.
This codepen demonstrates: http://cdpn.io/oywDJ
The input can receive focus and using the keyboard text can be added and deleted but text cannot be selected nor can you use the mouse to place the cursor as it instead seems to always put the cursor at the beginning or end of the text.
I would expect the behaviour to allow click and drag to select text within the input as well as the cursor to appear in the position clicked.
Thanks!
The text was updated successfully, but these errors were encountered: