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

Issue 683623 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Last visit 29 days ago
Closed: Apr 2017
Components:
EstimatedDays: ----
NextAction: ----
OS: All
Pri: 2
Type: Feature



Sign in to add a comment

Classes Pane - autocomplete suggestions should be immediately applied

Reported by kdzwinel@gmail.com, Jan 22 2017

Issue description

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.95 Safari/537.36

Steps to reproduce the problem:
1. Inspect an element
2. In Element > Styles click 'cls' button
3. Start typing
4. Select one of the suggestions from autocomplete

What is the expected behavior?

What went wrong?
Selected class is not applied to the element until 'enter' is pressed. This is unexpected, because it is different from editing CSS properties where autocomplete gives immediate preview of the selected value. Being able to quickly see how given CSS class impacts inspected element would be very useful.

Did this work before? No 

Chrome version: 55.0.2883.95  Channel: stable
OS Version: OS X 10.12.2
Flash Version: 

Please see the attached video of the proposed solution. Proof of concept can be found here - https://codereview.chromium.org/2646283002
 
class-autocomplete.mp4
5.0 MB View Download
Labels: M-55 Needs-Feedback
Thank you for the report, could you please help with the jsfiddle to triage further.
And let us know if its working fine on other browser to triage it accordingly.

Comment 2 by kdzwinel@gmail.com, Jan 23 2017

Hey! This is a feature request not a bug. I don't see how I can create a useful jsfiddle for that. I also cannot reproduce it in other browsers as this is a feature that only Chrome DevTools have.
Labels: -Type-Bug -Needs-Feedback -OS-Mac OS-All Type-Feature
Status: Untriaged (was: Unconfirmed)
This is a feature request therefore a working demo isn't really necessary for the team to assess the request. Forwarding on as an untriaged feature request.
Owner: lushnikov@chromium.org

Comment 5 by kdzwinel@gmail.com, Jan 30 2017

I'll be glad to implement this if the team decides that they want this feature.
Status: Assigned (was: Untriaged)
@kdzwinel: yay! Go ahead! I'll be happy to review your CL

Comment 7 by kdzwinel@gmail.com, Feb 6 2017

@lushnikov: In case you missed it, the CL is here: https://codereview.chromium.org/2646283002 :)
Status: Started (was: Assigned)
Started by kdzwinel: https://codereview.chromium.org/2646283002/
Status: Fixed (was: Started)

Sign in to add a comment