ExtensionEngine / tailor

Content authoring platform
MIT License
31 stars 10 forks source link

Editor | Wrong css applied on buttons in 'Delete element?' modal after clicking on Delete icon of [Text (deprecated) element] in case when element is not focused #1037

Open dujes opened 1 year ago

dujes commented 1 year ago

I'm submitting a...

Context

Issue is not reproducible when that specific element frame is focused.

Steps to Reproduce

  1. Open editor of any Page, Topic, Competency
  2. Click on 'Add Content' button
  3. Add 'Text(deprecated)' element
  4. Hover previously added element without clicking on it
  5. Click on 'Delete' icon that will appear in the top-right corner while hovering
  6. Observe 'Delete element' modal

Expected Behavior

'Confirm' button should be visible with background color. 'Close' button should have background color only while hovering element.

Screenshot 2022-11-23 at 15 59 59

Current Behavior

'Confirm' button is visible without background color. 'Close' button is visible with background color.

Screenshot 2022-11-23 at 15 57 36