Modal
Modal copied to clipboard
Remove should render always being false for the focus trap
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.