Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mgerbault created an issue. See original summary.

BSpeel’s picture

I'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.

tracipotocnik’s picture

I am working on this issue at Drupalcon Baltimore

tracipotocnik’s picture

Patch #5 should replace this one. Found a simpler fix.

tracipotocnik’s picture

Created 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

tracipotocnik’s picture

Status: Active » Needs review

Firefox 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

BSpeel’s picture

FileSize
38.87 KB

I 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.

yoroy’s picture

Version: 8.3.0 » 8.4.x-dev
Assigned: Unassigned » lauriii
Category: Feature request » Bug report
Issue summary: View changes
FileSize
79.53 KB
35.7 KB

I'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.

lauriii’s picture

Assigned: lauriii » Unassigned
Issue summary: View changes
Status: Needs review » Needs work
FileSize
8.14 KB

The 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.

yoroy’s picture

Agreed, the closed position is a little bit too far down. Expanded traingle looks good to me.

Vidushi Mehta’s picture

Status: Needs work » Needs review
FileSize
777 bytes
18.42 KB

As per the above discussion I am adding a patch with screenshot.

Status: Needs review » Needs work

The last submitted patch, 11: arrow-on-collaps-firefox-2873390-11.patch, failed testing. View results

Manjit.Singh’s picture

Issue tags: +Needs reroll

Latest patch needs a re-roll. Make sure to take pull when will you start creating patch.

Vidushi Mehta’s picture

Status: Needs work » Needs review
FileSize
821 bytes

Here is a re-rolled patch. Hope it works.

jofitz’s picture

Issue tags: -Needs reroll

Version: 8.4.x-dev » 8.5.x-dev

Drupal 8.4.0-alpha1 will be released the week of July 31, 2017, which means new developments and disruptive changes should now be targeted against the 8.5.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

volkerk’s picture

FileSize
22.54 KB

Unfortunately, this does not look good on Microsoft Edge.

Version: 8.5.x-dev » 8.6.x-dev

Drupal 8.5.0-alpha1 will be released the week of January 17, 2018, which means new developments and disruptive changes should now be targeted against the 8.6.x-dev branch. For more information see the Drupal 8 minor version schedule and the Allowed changes during the Drupal 8 release cycle.

lauriii’s picture

Status: Needs review » Needs work

Based on #17 this still needs work

Vidushi Mehta’s picture

FileSize
170.24 KB
170.57 KB

I 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.

volkerk’s picture

Status: Needs work » Needs review
FileSize
821 bytes
901 bytes

Imho this is an firefox issue only, so add a special case for it and leave webkit, ms, etc. on their default.

Vidushi Mehta’s picture

Status: Needs review » Reviewed & tested by the community
FileSize
19.37 KB
21.93 KB
24.18 KB

Reviewed the patch. #21 fixed the issue on all browsers. PFA the screenshots.

Vidushi Mehta’s picture

tstoeckler’s picture

alexpott’s picture

Status: Reviewed & tested by the community » Closed (duplicate)

Yep 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.