Wrench menu not disappearing on iOS

On iOS closing wrench menu (not select kit) will sometimes leave some kind of border:

4 Likes

Yes I get this as well quite a lot lately I have a 100% repro.

  • Scroll to the end of the topic (so wrench is absolutely positioned vs fix positioned)

  • Click wrench

  • Click anywhere away from the menu

  • You get a ghost

Ghost goes away when you scroll around the page, so this is probably a Safari mobile bug, does not repro on Chrome emulating mobile.

@awesomerobot can you have a look at this, maybe a simple additional CSS rule can make this issue go away?

3 Likes

Definitely an iOS rendering bug, adding transform: translate3d(0, 0, 0); fixes it for the time being.

https://github.com/discourse/discourse/commit/feeaac81df8e68ad81324eff212f1f8a6ced3507

9 Likes

Make sure you add a comment so we don’t carry this hack around for 5 years :slight_smile:

4 Likes

This topic was automatically closed after 25 hours. New replies are no longer allowed.