Skip to content

Conversation

devongovett
Copy link
Member

@devongovett devongovett commented Jun 19, 2025

Closes #6217, closes #5955, closes #3799, closes #6320

For discussion.

if (!type || type === 'input') {
let inputEvent = new Event('input', {bubbles: true});
inputEvent['__reactAriaIgnore'] = true;
el.dispatchEvent(inputEvent);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

don't love that this starts a new capture phase for the event

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm? It's not re-dispatching an existing event, it's totally new. So isn't that expected?

…ents

# Conflicts:
#	packages/@react-spectrum/picker/test/Picker.test.js
#	packages/@react-stately/select/src/useSelectState.ts
#	packages/@react-stately/slider/src/useSliderState.ts
#	packages/react-aria-components/test/Checkbox.test.js
#	packages/react-aria-components/test/ColorSlider.test.js
#	packages/react-aria-components/test/RadioGroup.test.js
#	packages/react-aria-components/test/Slider.test.js
#	packages/react-aria-components/test/Switch.test.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants