New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 699250 link

Starred by 2 users

Issue metadata

Status: WontFix
Owner: ----
Closed: Mar 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Android Webview textarea, no vertical scrollbar

Reported by mitch.wi...@pearson.com, Mar 7 2017

Issue description

Steps 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:

 
Components: -UI Blink>Layout>Scrollbars

Comment 2 by e...@chromium.org, Mar 8 2017

Components: -Blink>Layout>Scrollbars Blink>Scroll
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. 
Components: Mobile>WebView
Components: -Mobile>WebView
This issue isn't WebView specific.

Comment 5 by bokan@chromium.org, Mar 9 2017

Cc: bokan@chromium.org
Labels: Needs-Feedback
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?
Yes, this is WebView specific. I don't see it in Chrome browser. I see only
on Android when using WebView.
Project Member

Comment 7 by sheriffbot@chromium.org, Mar 9 2017

Labels: -Needs-Feedback
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

Comment 8 by bokan@chromium.org, Mar 9 2017

Cc: boliu@chromium.org
Components: Mobile>WebView
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

Comment 9 by torne@chromium.org, 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.

Comment 10 by bokan@chromium.org, Mar 10 2017

Status: Untriaged (was: Unconfirmed)
Interesting. Is there someone from the WebView team who could look into this?

Comment 11 by aluo@chromium.org, 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

Comment 12 by boliu@chromium.org, Mar 10 2017

Cc: aelias@chromium.org
iirc I think we just dropped scroll bars last time this came up?
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.

Comment 14 by bokan@chromium.org, Mar 16 2017

Labels: -Type-Bug-Regression Type-Bug
Status: WontFix (was: Untriaged)
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