Open
Description
@ph-fritsche Maybe add an option to skip detection of key descriptors? Something like:
userEvent.type(input, '{"foo":"bar"}', { skipSpecialCharacters: true })
Originally posted by @lynxtaa in #584 (comment)
An alternative might be to export this workaround as a utility:
userEvent.type(input, '{"foo":"bar"}'.replace(/[{[]/g, '$&$&'))
// would become
userEvent.type(input, escapeKeyboardInput('{"foo":"bar"}'))