Omnibox autoshow/autohide offsets scroll position in body with position fixed navbar / header when navigating between pages
Reported by
paulo.36...@gmail.com,
Jul 16 2017
|
|||
Issue descriptionExample URL: Steps to reproduce the problem: Fastest and easiest way to reproduce this is to setup two .html pages with the exact same content with each page linking to the other by using a simple anchor element. The content of both pages should be the fixed navbar and footer template from bootstrap.com. Once you have that setup do the following: 1. Load page1 2. Scroll page1 3. Tap on link to page2 4. Scroll page2 5. Tap on link to page1 6. Repeat until the scroll position gets offset This happens intermittently. I cannot reproduce it on command. Try scrolling up slightly so that you can barely see the omnibox reappear and the touchclick the link. It looks like as the pixel offset is equal to the height of the omnibox. I've tried the same in Safari on the same device but everything works fine in that browser. The other site that I have issues with is my own. I basically use the same markup and CSS as the bootstrap template but with several other CSS properties so the best way to try and reproduce is by playing with a bare minimum bootstrap template. I've been searching for two days to try and find the source of this problem. No responses on stackoverflow and bug threads all pending in these forums. Here are the ones that I think are related: https://bugs.chromium.org/p/chromium/issues/detail?id=425721 https://bugs.chromium.org/p/chromium/issues/detail?id=574996 https://bugs.chromium.org/p/chromium/issues/detail?id=632358 https://bugs.chromium.org/p/chromium/issues/detail?id=642279 And some other interesting posts linking from the above threads: https://groups.google.com/a/chromium.org/forum/#!msg/blink-dev/p1sy9aQDmtU/jndSickDCAAJ https://github.com/whatwg/html/issues/1742 It seems there are inconsistensies between some specs/modules contradicting each other and affecting each other. As I'm dependent on that feature working 100% of times because of ads=>clicks=>landing page with this bug=> sales=>revenue I depend on that scroll offset always being top when users navigate to that particular page. What is the expected behavior? When navigating between the pages the scroll position should always be top 0. No matter if the omnibox is shown/hidden or partly shown/hidden or if the page uses a position fixed navbar/header or if you scroll up or down or whatever gesture you do on previous page. It should be consistent. What went wrong? The position fixed navbar overlaps the body content with what appears to be the same amount of pixels as the omnibox. Does it occur on multiple sites: Yes Is it a problem with a plugin? No Did this work before? N/A Does this work in other browsers? Yes Chrome version: 59.0.3071.102 Channel: stable OS Version: 10.3.1 Flash Version:
,
Jul 17 2017
,
Jul 20 2017
,
Aug 17
Kurt, is this still a problem? |
|||
►
Sign in to add a comment |
|||
Comment 1 by dtapu...@chromium.org
, Jul 17 2017