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

Issue 789187 link

Starred by 3 users

Issue metadata

Status: Assigned
Owner:
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux , Windows , Mac
Pri: 2
Type: Bug

Blocked on:
issue 844648



Sign in to add a comment

When the datalist becomes to long, it will not display anymore

Reported by pe2...@gmail.com, Nov 28 2017

Issue description

UserAgent: Mozilla/5.0 (X11; Linux i686 (x86_64)) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.101 Safari/537.36

Steps to reproduce the problem:
1. the html file is part of an angular dashboard, populate the config.cities with +/- 200 items.
2. id="location" doesn't show a list. 
3. id="browsers" shows a list when its lest than the window size is able to show. 

What is the expected behavior?
Show a dropdown list with a scrollbar when large number of items are in the list. 

What went wrong?
doesn't show a list when a large number of items is populated in the datalist. The first attached image show the screen when its populated with 24 items and then not showing the datalist in a dropdown. Second attached image shows a dropdown list with 22 items, this works, because its still within the window frame.

Did this work before? No 

Does this work in other browsers? Yes

Chrome version:  45.0.2454.101  Channel: stable
OS Version: 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
Flash Version: Shockwave Flash 19.0 r0
 
edit.html
1.9 KB View Download
Screenshot-Dashboard - Google Chrome with 24 items.png
254 KB View Download
Screenshot-Dashboard - Google Chrome.png
273 KB View Download
Labels: Needs-Milestone
Cc: vamshi.k...@techmahindra.com
Labels: Triaged-ET OS-Mac OS-Windows
Status: Untriaged (was: Unconfirmed)
Able to reproduce the isue on latest stable 62.0.3202.94 and on the latest canary 64.0.3280.0 using Windows 10, Mac 10.13.1 and Ubuntu 14.04. As the issue is seen from M50(50.0.2634.0) treating it as non-regression and marking it as Untriaged.

Comment 3 by kochi@chromium.org, Dec 27 2017

Components: -Blink>HTML Blink>Forms>Datalist
Status: Available (was: Untriaged)

Comment 4 by tkent@chromium.org, Jan 9 2018

Owner: ma...@chromium.org
Status: Assigned (was: Available)
mathp@, can you take a look at this?

Comment 5 by ma...@chromium.org, May 11 2018

Owner: ftirelo@chromium.org
Fabio is looking at our datalist clipping, might be fixed already!
Blockedon: 844648
Labels: M-69
This is very interesting. I tested locally and the browser hangs when we try to render the dropdown with 380 entries (the actual limit should be lower on a less powerful machine, but I was also using a debug binary).

Once  https://crbug.com/844648  gets fixed, I will come back to this bug to see what changed. Marking it for M69 in the meantime, since branch for M68 is tomorrow.

Comment 7 by ppyt...@gmail.com, Jun 19 2018

I'd like to suggest to use a standard <select> drop-down for the datalist as it behaves much better - chooses to be shown above the field if there's more room then below, extends outside the Chromium window if there's room on the screen (so it's not limited to the current window size), properly scrolls with keyboard / mouse...
My main problem with the datalist as of now is that I can't even select an item with the keyboard if there's not enough room for the entire list to show because the list doesn't auto-scroll to show selected item. If there's way too little room, it will not even show the full scroll-bar so I can't scroll it up (only down arrow is visible).

Sign in to add a comment