From 9b19675dffec603bc7e8fe6d973ed4edafaff136 Mon Sep 17 00:00:00 2001 From: Bogdan Udrescu Date: Tue, 8 Jul 2014 09:58:45 +0300 Subject: Bottom component click scroll up the parent panel in a window (#12943) Due to old fix for (#11994) the v-scrollable div of the window would expand to 110% of its size then immediately back to the original size. The first action, expanding the v-scrollable to 110% would decrease the scrollTop value of our panel, while increasing its height. When the revert back action would set the v-scrollable to its own size, the panel's scrollTop would remain decreased, causing the scroll bar to move up, hiding the ~10% at the bottom. Fixed by calling Util.runWebkitOverflowAutoFix(); instead of changing the height. Change-Id: I79eafd1f9500c2e4c10dadbfc7100608c0732e04 --- .../html-tests/BottomComponentScrollsUp.html | 96 ++++++++++++++++++++++ 1 file changed, 96 insertions(+) create mode 100644 WebContent/html-tests/BottomComponentScrollsUp.html (limited to 'WebContent/html-tests') diff --git a/WebContent/html-tests/BottomComponentScrollsUp.html b/WebContent/html-tests/BottomComponentScrollsUp.html new file mode 100644 index 0000000000..a264b38ba8 --- /dev/null +++ b/WebContent/html-tests/BottomComponentScrollsUp.html @@ -0,0 +1,96 @@ + + + +Bottom component scroll when focus - test with plain html to see the default behaviour + + + + + + + + +
+ + + + + +
+ + + + \ No newline at end of file -- cgit v1.2.3