Skip to content

Fix richtext editor buttons in work item modal

Simon Knox requested to merge psi-wi-modal-buttons into master

What does this MR do and why?

Fix missing buttons in richtext editor when in a modal.

Similar issue to gitlab-ui!3026 (merged) - I am not sure specifically of cause but something funny happening with buttons in an absolute positioned element.

Setting isolation isolate and explicitly inheriting background color fixes it.

Screenshots or screen recordings

before after
Screenshot_2023-01-10_at_1.57.45_pm Screenshot_2023-01-10_at_1.57.10_pm

How to set up and validate locally

  1. Create a task on an issue
  2. Open the modal to view the task
  3. Edit the description
  4. Use the richtext editor (dropdown on the right side of toolbar, Richtext editing)
  5. Check formatting and Cancel buttons are all visible

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Simon Knox

Merge request reports