Skip to content
This repository has been archived by the owner on Apr 8, 2024. It is now read-only.

Releases: nrkno/core-components

Fix onToggle for JSX

06 Apr 14:57
Compare
Choose a tag to compare
  • Fixed bug where setting state onToggle in JSX was overwritten by the bubbling native event
  • Fixed bug where React stripped detail from event object
  • Added event.detail.willOpen on toggle event

Only hijack home and end in core-input list

05 Apr 10:38
Compare
Choose a tag to compare
  • home and end is used in windows for jumping in text selection. core-input now only hijack these if focus is inside content and not in <input>

Make ReactDOM independent

04 Apr 13:09
Compare
Choose a tag to compare
  • ReactDOM.findNode is bad practice, use refs instead

Fix lacking ReactDOM

16 Mar 06:47
Compare
Choose a tag to compare
  • Fix missing import ReactDOM from 'react-dom' in core-toggle