- Issue created by @mherchel
- Status changed to Needs review
over 1 year ago 4:25pm 26 November 2023 - last update
over 1 year ago 30,675 pass - Status changed to Needs work
over 1 year ago 6:28pm 26 November 2023 - ๐บ๐ธUnited States smustgrave
@mherchel is there an additional step? I'm on Version 119.0.6045.159 (Official Build) (arm64) and applying the patch I'm not noticing any difference on the page load
- Status changed to Needs review
over 1 year ago 6:28pm 26 November 2023 - ๐บ๐ธUnited States mherchel Gainesville, FL, US
@mherchel is there an additional step? I'm on Version 119.0.6045.159 (Official Build) (arm64) and applying the patch I'm not noticing any difference on the page load
Ha! You're just like me and skipped over part of the testing steps (I do this all the time). Here's the part that you missed ๐คฃ๐คฃ๐คฃ
Note that the at-media feature is not supported in the latest version of Chrome (119). It is supported in the next version of Chrome (120), Safari 17, and Firefox. So, if you're testing on Chrome, please verify that you're on 120 or later (you can use Chrome Canary if you'd like).
- Status changed to RTBC
over 1 year ago 3:32pm 27 November 2023 - ๐บ๐ธUnited States smustgrave
Tested on firefox and see what you mean now.
Wonder if a meta should be opened for other locations this could be used?
- ๐บ๐ธUnited States mherchel Gainesville, FL, US
Great minds think alike :D
๐ฑ META: Reduce / eliminate โjankโ (layout shifts) within Drupalโs admin UI Active - last update
over 1 year ago 30,679 pass - Status changed to Needs work
over 1 year ago 11:07am 29 November 2023 - ๐ซ๐ฎFinland lauriii Finland
-
+++ b/core/modules/system/css/components/js.module.css @@ -20,3 +20,17 @@ + [class] .js-hide {
Why not
.js-hide.js-hide
like we do usually when we need to increase specificity? -
+++ b/core/modules/system/css/components/js.module.css @@ -20,3 +20,17 @@ + .js-show {
Shouldn't we add the extra specificity here too?
-
- First commit to issue fork.
- Status changed to Needs review
over 1 year ago 11:56am 29 November 2023 - ๐ฎ๐ณIndia djsagar
HI lauriii,
I tried to changes as per your comment, kindly review.
Thanks!
- Status changed to Needs work
over 1 year ago 12:06pm 29 November 2023 The Needs Review Queue Bot โ tested this issue.
While you are making the above changes, we recommend that you convert this patch to a merge request โ . Merge requests are preferred over patches. Be sure to hide the old patch files as well. (Converting an issue to a merge request without other contributions to the issue will not receive credit.)
- Status changed to Needs review
over 1 year ago 12:40pm 29 November 2023 - ๐บ๐ธUnited States mherchel Gainesville, FL, US
Why not .js-hide.js-hide like we do usually when we need to increase specificity?
No specific reason. Attribute has the same specificity as a class, so ๐คทโโ๏ธ. Not sure if there's a preference.
Shouldn't we add the extra specificity here too?
Nope. We don't need it. The extra specificity is only for when JS is enabled, and therefore the current (previous) ruleset works file. We only need to take into account for situations where JavaScript is enabled but the
.js
class is not yet present. - Status changed to RTBC
over 1 year ago 9:08pm 29 November 2023 - ๐ณ๐ฟNew Zealand john pitcairn
Safari 17 is quite a high bar given Apple ties it to specific OS updates (it's the new IE). Any interest in a fallback technique with broader browser support?
-
lauriii โ
committed 3ad9ff98 on 11.x
Issue #3404218 by djsagar, mherchel, smustgrave: Table filter creates...
-
lauriii โ
committed 3ad9ff98 on 11.x
-
lauriii โ
committed 66834db5 on 10.2.x
Issue #3404218 by djsagar, mherchel, smustgrave: Table filter creates...
-
lauriii โ
committed 66834db5 on 10.2.x
- Status changed to Fixed
over 1 year ago 9:21am 30 November 2023 - ๐ซ๐ฎFinland lauriii Finland
Not sure it's worth using too much time trying to invent another solution for this since it's a perceived performance improvement for a problem that has existed for years in Drupal. If you are interested in that and want to propose something, I think it would be fine to do so in the meta issue.
Committed 3ad9ff9 and pushed to 11.x. Also cherry-picked to 10.2.x. Thanks!
- ๐ณ๐ฟNew Zealand john pitcairn
Fair enough. No on second thought it's a problem that will go away eventually by itself with these fixes in.
Automatically closed - issue fixed for 2 weeks with no activity.
- Status changed to Fixed
22 days ago 8:56pm 21 March 2025