rescript-react icon indicating copy to clipboard operation
rescript-react copied to clipboard

Add support for `ReactEvent.Keyboard.stopImmediatePropagation` binding

Open sinap-fb opened this issue 4 years ago • 1 comments

sinap-fb avatar May 19 '21 02:05 sinap-fb

@sinap-fb Are you sure that this actually exists on React Synthetic Events?

It is neither in the React docs (https://reactjs.org/docs/events.html) nor in the TypeScript typedefs (https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/react/index.d.ts).

I think it only exist on the underlying nativeEvent, but that is currently only typed as

  @get external nativeEvent: Type.t => {..} = "nativeEvent" /* Should return Dom.event */

Also it is not Keyboard-specific as far as I can see.

cknitt avatar Oct 04 '22 05:10 cknitt

Closing. @sinap-fb feel free to ping me if this is still relevant for you.

cknitt avatar Oct 12 '22 14:10 cknitt