Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
With Firefox, the small expand/collaps triangles on collapsible fieldsets are not displayed:
It should look like this:
Comment | File | Size | Author |
---|---|---|---|
#22 | edge-after-patch.jpeg | 24.18 KB | Vidushi Mehta |
#22 | mac-ff-after-patch.jpeg | 21.93 KB | Vidushi Mehta |
#22 | firefox-after-patch.jpeg | 19.37 KB | Vidushi Mehta |
#21 | interdiff-12-21.txt | 901 bytes | volkerk |
#21 | 2873390-21.patch | 821 bytes | volkerk |
Comments
Comment #2
BSpeel CreditAttribution: BSpeel as a volunteer commentedI've confirmed the arrows do exist in Chrome (57) and Safari (10) but they do not appear in Firefox (53) on a mac. The issue in question is while adding or editing a node the right sidebar. See attached screenshots from Chrome and from Firefox.
Comment #3
tracipotocnik CreditAttribution: tracipotocnik as a volunteer commentedI am working on this issue at Drupalcon Baltimore
Comment #4
tracipotocnik CreditAttribution: tracipotocnik as a volunteer commentedPatch #5 should replace this one. Found a simpler fix.
Comment #5
tracipotocnik CreditAttribution: tracipotocnik as a volunteer commentedCreated a patch to solve the arrow display issue on Firefox.
Firefox needs the summary block to be display: list-item for the arrow to show.
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Comment #6
tracipotocnik CreditAttribution: tracipotocnik as a volunteer commentedFirefox displays the arrow when the summary field's arrow only when the display is set to list item. See docs: https://developer.mozilla.org/en-US/docs/Web/HTML/Element/details
Comment #7
BSpeel CreditAttribution: BSpeel as a volunteer commentedI checked it based on patch #5 in firefox and it does seem to be working. I checked a few different spots across the site (in Firefox, Chrome, and Safari) and didn't see any regressions, so presuming all the tests pass +1 RTBC.
Comment #8
yoroy CreditAttribution: yoroy commentedI've been noticing the same. I've tested the latest patch on simplytest.me and it fixes the issue in Firefox & FirefoxNightly. Maybe @lauriii can say something about the approach for this fix.
With 8.3 out, all fixes go in 8.4-dev first, so setting the version to that. It's also a (visual) bug so changing category as well. And updated the issue summary a bit to illustrate the problem and expected fix.
Comment #9
lauriiiThe technical implementation of the fix looks great! Thanks @tracipotocnik!
However, I think we will still have to adjust the positioning of the arrow since it seems to be slightly off.
Comment #10
yoroy CreditAttribution: yoroy commentedAgreed, the closed position is a little bit too far down. Expanded traingle looks good to me.
Comment #11
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedAs per the above discussion I am adding a patch with screenshot.
Comment #13
Manjit.SinghLatest patch needs a re-roll. Make sure to take pull when will you start creating patch.
Comment #14
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedHere is a re-rolled patch. Hope it works.
Comment #15
jofitz CreditAttribution: jofitz at ComputerMinds commentedComment #17
volkerk CreditAttribution: volkerk commentedUnfortunately, this does not look good on Microsoft Edge.
Comment #19
lauriiiBased on #17 this still needs work
Comment #20
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedI checked this issue on all browsers on Windows and Mac. I found that the arrows are not looking good on Edge and IE as mentioned by #17 other than that on all browsers it looks good on Windows and Mac. On Edge and IE there's a class added which overrides the patch css and that class I didn't found on other browsers. I took a screenshots for that which shows the class added on Edge and IE and not on other browsers. So we should look properly on this so that the class which is added won't affect on other sides.
Comment #21
volkerk CreditAttribution: volkerk commentedImho this is an firefox issue only, so add a special case for it and leave webkit, ms, etc. on their default.
Comment #22
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedReviewed the patch. #21 fixed the issue on all browsers. PFA the screenshots.
Comment #23
Vidushi Mehta CreditAttribution: Vidushi Mehta at gai Technologies Pvt Ltd commentedComment #24
tstoecklerThis seems like a duplicate of #2886904: display: block for details/summary hides drop arrows in Firefox (normalize.css update), no?
Comment #25
alexpottYep this is a duplicate of #2886904: display: block for details/summary hides drop arrows in Firefox (normalize.css update) also the fix there is more along the right lines as this is not a seven only issue.