Skip to content

Don't play close animation on close() if sheet is already closed

Jan Blackquill requested to merge work/cblack/overlaysheet-fixes into master

This prevents situations like the following from happening:

  • Sheet is given keyboard shortcut to close with escape
  • User presses escape
  • Sheet hides, but still has focus
  • Pressing escape causes the close animation to play, which looks weird due to the sheet not being in the open state beforehand.

Merge request reports