New issue
Advanced search Search tips

Issue 888548 link

Starred by 6 users

Issue metadata

Status: Unconfirmed
Owner: ----
Components:
EstimatedDays: ----
NextAction: ----
OS: Android
Pri: 2
Type: Bug



Sign in to add a comment

Chrome's Secondary Bottom Toolbar shifts the click areas of the buttons in a Cookie Consent Dialog.

Reported by ahmedibr...@gmail.com, Sep 24

Issue description

Steps to reproduce the problem:
1. Setup a bottom toolbar through the CustomTabsIntent and by supplying EXTRA_REMOTEVIEWS.
2. Head to a sample site (could happen on any site that has a Cookie Consent dialog as a popup) e.g. https://www.classicfm.com/lifestyle/quizzes/italian-musical-terms/ 
3. Swipe the page so that the bottom toolbar gets hidden.
4. Now try clicking on the "Accept & Continue" it does nothing.
5. Scroll back to the normal bottom toolbar position and click the button again, it works! 

What is the expected behavior?
The "Accept & Continue" button's action gets invoked regardless the position of the Bottom toolbar and the popup modal is hidden.

What went wrong?
As stated in the steps to reproduce, when the toolbar gets hidden due to a scroll, the click areas on the button are not responsive anymore, this is probably due to the click area Rects are shifted upwards with the amount equals to the height of the bottom toolbar.

I've attached 3 files:
1. Shows the position of the button rect  when the toolbar is shown.
2. Shows the position of the button rect when the toolbar is not show (notice the the shift to upward).
3. A video that shows the issue in action. 

Did this work before? N/A 

Chrome version: 69.0.3497.100  Channel: n/a
OS Version: 8.1.0
Flash Version: 

We are a news application, and it is written as a native Android that uses the Chrome Custom Tabs API. 

Unfortunately we can't ship the ChromeCustomTabs bottom bar feature as this could lead to legal problems with publishers  since the users won't be able to give their consent for the Cookies.
 
bottom_bar_shown.png
602 KB View Download
bottom_bar_not_shown.png
727 KB View Download
chrome_bottom_toolbar_issue.mp4
2.6 MB View Download
Labels: Needs-triage-Mobile
This issue is critical for us a publisher too. Blocks us totally from benefiting from the chrome custom tab bottom bar and reduces opportunities of better user engagement. 

Sign in to add a comment