mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(keyboard): overflow: visible on scroll view when keyboard is open
When using JS scrolling, prevents the web view from automatically scrolling inputs into view when they are either scrolled under the keyboard or already below the keyboard and typed into.
This commit is contained in:
@@ -73,6 +73,7 @@ describe('Scroll View', function() {
|
||||
expect(sv.resize).toHaveBeenCalled();
|
||||
expect(sv.isShrunkForKeyboard).toBe(true);
|
||||
expect(sc.style.height).toEqual("248px");
|
||||
expect(sc.style.overflow).toEqual("visible");
|
||||
|
||||
ionic.trigger('scrollChildIntoView', details, true);
|
||||
//already shrunk, so shouldn't resize again
|
||||
|
||||
Reference in New Issue
Block a user