ionic-framework icon indicating copy to clipboard operation
ionic-framework copied to clipboard

bug: Click a input field. whole Webapp jumps down and back to the original place and swipe issue again not solve in new version of ionic "uranium-unicorn"

Open smamit27 opened this issue 11 years ago • 8 comments

Type: bug

Platform: ios 8 browser

Hello Guys. I am facing the issue in my registration page with scrolling issue. I Commented document.body.scrollTop = 0; scrollView.scrollTop = 0; but again scroll issue not solve yet.Even i have already update ionic which is the latest one.

smamit27 avatar Jun 24 '15 11:06 smamit27

I'm also experiencing this issue. If I try to tap a text area in a scrollable list, the whole list scrolls to the top and the view "freezes". You can no longer move your view.

Its basically this issue: https://github.com/driftyco/ionic/issues/3727

Edit: it looks like you can move the view if you tap on the text area first, and then drag. If you tap outside of the text area, it won't work.

AdrianC9 avatar Jun 24 '15 14:06 AdrianC9

Update

I tried the latest nightly build. Here, when tapping a text area, its brought into view. The view is still frozen. You can't scroll up or down, but at lease the keyboard isn't hiding the text area. That said, this doesn't work that well. It kinda shakes into position and isn't very smooth.

It does cause another issue however. It breaks the scrolling on lists that have on-tap or on-hold on their items. These lists simply never scroll anymore.

AdrianC9 avatar Jun 24 '15 17:06 AdrianC9

Would you be able provide a codepen for testing?

mhartington avatar Jun 25 '15 15:06 mhartington

Hey @mhartington, I have this issue also, but it can only be replicated in the emulator or on a device. If you start a new tabs project and add a few inputs to a page, and load it up in your emulator, you can see all the bounciness. This happens for me for the latest Ionic version. I also have cordova.plugins.Keyboard.disableScroll(true); set.

sean-hill avatar Jul 01 '15 22:07 sean-hill

Thanks @sean-hill - i started a new project and forgot to add the disableScroll setting like the previous project :)

ashconnell avatar Jul 04 '15 11:07 ashconnell

Maybe this should be on by default?

ashconnell avatar Jul 04 '15 11:07 ashconnell

Yeah, I definitely think so, or at least some Ionic solution to it. It's kinda embarrassing when you're demoing Ionic to someone on the fly, and your app is bouncing all over the place. Kinda ruins how cool Hybrid dev is :smile:

sean-hill avatar Jul 04 '15 13:07 sean-hill

on by default now.

https://github.com/driftyco/ionic-app-base/commit/2e11240fd7ee973bfe14a0c6a80231dfdbc957ee

mhartington avatar Jul 14 '15 15:07 mhartington