zendeskgarden/react-components

Closing `DrawerModal ` requires double click to the backdrop, if it has been clicked

apkoponen opened this issue · 0 comments

Expectations

DrawerModal should close with one click to the backdrop every time.

Reality

Closing DrawerModal requires double click to the backdrop, if it has been clicked

Steps to Reproduce

  1. Go to https://garden.zendesk.com/components/drawer
  2. Click "Open Drawer" on the example.
  3. Click on the text part of the Drawer.
  4. Click the backdrop once, nothing happens.
  5. Click the backdrop again, the Drawer closes.

Fine Print

  • Component: DrawerModal
  • Version: 8.29.3 + the version the example site is running on 21st of July 2021
  • Browsers: Chrome