Open
Bug 1447746
Opened 8 years ago
Updated 4 years ago
CSS transform highlighter disappears while editing the transform value in the rule view
Categories
(DevTools :: Inspector: Rules, enhancement, P3)
DevTools
Inspector: Rules
Tracking
(firefox61 affected)
NEW
| Tracking | Status | |
|---|---|---|
| firefox61 | --- | affected |
People
(Reporter: bgrins, Unassigned)
Details
Attachments
(1 file)
|
206.03 KB,
image/gif
|
Details |
When I hover a transform value I see the highlighted preview, which is great. But the highlighter disappears when I start editing the transform in the rule view, which means I need to finish editing and re-hover the value to see it again (see attached gif).
It would be helpful if the highlighter stayed around while I was editing a transform value.
Comment 1•8 years ago
|
||
Thanks Brian.
For now, the CssTransformHighlighter is shown on mousemove and hidden on mouseout here: https://searchfox.org/mozilla-central/rev/003262ae12ce937950ffb8d3b0fa520d1cc38bff/devtools/client/inspector/shared/highlighters-overlay.js#794-858
The idea here would be to also show it when the input field for a transform property is focused, and then hidden when it's blurred.
This needs to be done in the devtools/client/inspector/rules/views/text-property-editor.js.
In this file, the input field is being controlled by an inplaceEditor component: https://searchfox.org/mozilla-central/rev/003262ae12ce937950ffb8d3b0fa520d1cc38bff/devtools/client/inspector/rules/views/text-property-editor.js#306-321
It shouldn't be too hard to add some code to the start and done callbacks to show and hide the highlighter.
Severity: normal → enhancement
Priority: -- → P3
Updated•8 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•