0
Good afternoon, everyone,
I have the following problem and did not know how to describe a title well, I have a field that has a textarea that adapts the page width with 98%. What I want to avoid is that when the user clicks inside the zoom textarea, what is happening is that when he clicks to type the page gets much bigger and creates such a horizontal scroll bar.
- On a mobile device
Does anyone have any tips ?
This would be on a mobile device?
– Kazzkiq
Yes Kazzkiq, is giving me a headache this.
– Bruno Luiz
Have you tried adding the metatag viewport? Example:
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1">
– Kazzkiq
maybe a
max-width
or amax-height
solve this? to lock the horizontal scroll maybeoverflow-x: hidden;
I don’t know if these tips can solve your problem, but I hope so– David Concha
So when I added the viewport the site exploded and I couldn’t fix it, it makes the letters huddle together in one of the other ones.
– Bruno Luiz
I think it is better to change strategy, increase is purposeful to facilitate the life of the user, block such feature is to hinder the life of the user and provide a bad experience.
– Guilherme Nascimento
So, I simulated a page like facebook does in the app, when I click on Textarea it directs to another page that has a textarea with the image upload buttons, User image and the textarea takes almost the whole page put a font with 2in to get a good size for the user. When it stays in Focus it explodes a lot the original size.
– Bruno Luiz