v8.32.2

Text input is not working in a modal

When a modal is active often the modal will try to retain the focus flow. This means when the focus changes to a field outside of the modal the modal script will move the focus to the top of the modal.

By default the Pintura modal is attached to the document body, this means that it lives outside of your framework modal. When you focus one of the text input fields in Pintura the modal script will move the focus back to itself, blocking input.

For most modal scripts disabling this behaviour fixes the issue.

If it's not possible to disable the modal from retaining focus, you can tell Pintura to attach itself as a child of the modal. The openDefaultEditor function can take a second argument to set the parent node of the modal.