Android Webview textarea, no vertical scrollbar
Reported by
mitch.wi...@pearson.com,
Mar 7 2017
|
||||||||||
Issue descriptionSteps to reproduce the problem: 1. Create a textarea in an HTML page (set height to 100px so it's large enough to display a vertical scrollbar and add overflow-y:scroll css to element). 2. Type enough text into textarea to cause vertical overflow, which normally would cause a vertical scrollbar to appear. 3. Use your finger to scroll the text up down, and note the lack of a vertical scrollbar even though text does scroll. What is the expected behavior? Expect a vertical scrollbar to appear on the textarea element when there is enough text in textarea to cause vertical scrolling. What went wrong? Textarea does not indicate there is more text to scroll. Did this work before? Yes Android version 5. Chrome version: 55 Channel: stable OS Version: 7 Flash Version:
,
Mar 8 2017
This sounds like a product decision given that it depends on he OS version. Over to input/scroll team in case they know anything about this.
,
Mar 8 2017
,
Mar 8 2017
This issue isn't WebView specific.
,
Mar 9 2017
I can't see the issue in Chrome 56.0.2924.87. See http://output.jsbin.com/qijawoliwo, I can see a vertical scrollbar in the bottom text area when I scroll vertically. I *don't* see a horizontal scrollbar in the single line text box above but I think that's always been the case. Is my jsbin missing something, or was this actually WebView specific?
,
Mar 9 2017
Yes, this is WebView specific. I don't see it in Chrome browser. I see only on Android when using WebView.
,
Mar 9 2017
Thank you for providing more feedback. Adding requester "bokan@chromium.org" to the cc list and removing "Needs-Feedback" label. For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot
,
Mar 9 2017
Ok, I can repro as well in a WebView based browser. Interestingly, it seems no child scrollers have scrollbars. This seems strange to me but I'm not sure if it's a regression. +boliu@, do you know if the lack of scrollbars for subscroller is intentional or a regression? e.g. see the link in #5 or http://bokand.github.io/temp.html <--Scrolling the two boxes with text horizontally shows no scrollbars but scrolling the main page shows a vertical scrollbar
,
Mar 10 2017
Related to issue 639806 ? There was a change made there and later reverted which caused the same symptoms, so maybe someone has caused the same issue again. WebView wants the top level scrollbar to be suppressed in blink, but not child scrollers. We relied on a weird webview-specific mechanism to achieve this, and when someone tried to change it to a standard blink mechanism they accidentally disabled all scrollbars, so maybe something similar has happened again.
,
Mar 10 2017
Interesting. Is there someone from the WebView team who could look into this?
,
Mar 10 2017
The lack of vertical scrollbar here in Webview is not new, version 45.0.2454.103 also do not show scrollbars at http://output.jsbin.com/qijawoliwo
,
Mar 10 2017
iirc I think we just dropped scroll bars last time this came up?
,
Mar 10 2017
This isn't the temporary regression, this is the intended behavior. The regression was to switch whether -webkit-scrollbar CSS worked to make them show. This repro case has no scrollbar CSS. In that case WebView purposely has never shown sublayer scrollbars because classic WebView didn't and because we don't have the code to apply Android View-side scrollbar customizations on them. The divergence from Chrome behavior is a bit unfortunate, but it's challenging to evolve from here.
,
Mar 16 2017
In that case, I'm marking as WontFix since it's not a regression and intended. Feel free to reopen if I'm missing something. |
||||||||||
►
Sign in to add a comment |
||||||||||
Comment 1 by manoranj...@chromium.org
, Mar 7 2017