Modal icon indicating copy to clipboard operation
Modal copied to clipboard

Remove should render always being false for the focus trap

Open PesceJonathan opened this issue 11 months ago • 0 comments

Fix for the following issue.

Essentially, set title stopped working because the title is used as part of the child content for the FocusTrap component, where the FocusTrap is set to never re-render. This essentially means that its children never re-render, leading to the title never being set. You can see examples and more in the issue.

The fix just allows for the focus trap to re-render.

PesceJonathan avatar Mar 20 '24 03:03 PesceJonathan