Problem/Motivation
This has been reported by @webchick in chat, by @xjm at #2896143-11: Unintentional animation of the body while Settings Tray is installed:
The Edit button on the normal toolbar flickers when Settings Tray is enabled and you navigate in the page.
Proposed resolution
Remove this animation.
Remaining tasks
A video of the problem would be helpful.
Respond to questions in #12
User interface changes
API changes
Data model changes
| Comment | File | Size | Author |
|---|---|---|---|
| #33 | Screen Recording 2024-09-24 at 3.25.45 PM.mov | 41.35 MB | saurav-drupal-dev |
| #32 | Screenshot 2024-09-18 at 4.09.01 PM.png | 396.22 KB | saurav-drupal-dev |
| #22 | 2897308-22.patch | 725 bytes | ranjith_kumar_k_u |
| #13 | 2897308-13.patch | 728 bytes | tedbow |
| #9 | 2897308-9.patch | 724 bytes | jofitz |
Comments
Comment #2
wim leersComment #4
wim leersComment #6
tedbowJust a re-roll
Comment #7
tedbowChanging to new settings_tray.module component. @drpal thanks for script help! :)
Comment #8
tedbowNeeds reroll at least for changes in #2803375: Rename Outside-in module to "Settings Tray" for real
Comment #9
jofitzRe-rolled.
Comment #10
tedbow@Jo Fitzgerald thanks for the re-roll!!!!!!!!!! 🙌
I am trying to test the patch and I don't think I see the difference with the edit button. I think we an update to describe what the patch is actually trying to fix and how to tell the difference.
Comment #11
ivan berezhnov commentedComment #12
tedbowLooking at this again I don't this patch fixes it.
Also if I disable the Settings Tray module and just have contextual enable I still the flicker on the edit button(on the right). It is not as noticable because the edit button is not a different color but it is still there.
I think this is because the Edit button is always loaded as hidden and then set visible if there are contextual links on the page in the core/modules/contextual/js/toolbar/views/VisualView.es6.js
Drupal.contextualToolbar.VisualView.render()It would be good to get someone else to confirm that this is the case or is there still some other flicker that I am missing.
If it is a problem with the contextual module should be change it that component and solve it there or is it only a problem because the edit button is a different color.
Comment #13
tedbowHere is the rerolled patch anyways. I don't think it fixes the problem but just so someone else can test it.
Comment #14
wim leersThis was originally reported by @webchick. Maybe you can ask her to give this another look, to clarify the problem?
Comment #15
tedbowI pinged @webchick
Comment #22
ranjith_kumar_k_u commentedRe-rolled for 9.2
Comment #27
smustgrave commentedThis issue is being reviewed by the kind folks in Slack, #needs-review-queue-initiative. We are working to keep the size of Needs Review queue [2700+ issues] to around 400 (1 month or less), following Review a patch or merge request as a guide.
Was previously tagged for issue summary update in #10 that still needs to happen.
Tagging for screenshots or better yet videos of the before/after.
Thanks!
Comment #28
gauravvvv commentedThis CSS no longer applies anywhere.
<button class="toolbar-icon toolbar-icon-edit toolbar-item is-active" aria-pressed="true" type="button" data-drupal-settingstray="toggle" data-once="settingstray">Editing</button>Button no longer hastoolbar-barID.<nav id="toolbar-bar" role="navigation" aria-label="Toolbar items" class="toolbar-bar clearfix js-settings-tray-edit-mode" data-offset-top="" data-once="admin-toolbar-search">have theid="toolbar-bar"ID.Comment #29
quietone commentedThis was a bugsmash daily triage target today.
This still needs an issue summary update, taking note that #12 it is reported that the issue happens with the settings tray module enabled and questions were asked there that need to be answered. Since #12 needs to be addressed before working on a patch, I am setting the status to active. I have updated the Issue Summary with some tasks.
Comment #31
quietone commentedComment #32
saurav-drupal-dev commentedtried
patch from #22but not applied please share process to reproduce the issue.Comment #33
saurav-drupal-dev commentedi have tried to replicate the issue on
9.2and11.xbut unable to reproduce even applied patch manually but nothing happened this cssits not applying any where until i modify it like this but still no flicker issue found.
if i am doing something wrong do let me know or explain the issue with more detail so i can replicate it correctly.
Comment #35
quietone commented@saurav-drupal-dev, thanks for testing this!
This must have been fixed sometime in the five or so years since it was opened and the manual testing. Therefor, I am closing this as outdated. I have updated credit.