This repository has been archived by the owner on Apr 8, 2024. It is now read-only.
Releases: nrkno/core-components
Releases · nrkno/core-components
Fix onToggle for JSX
- Fixed bug where setting state
onToggle
in JSX was overwritten by the bubbling native event - Fixed bug where React stripped
detail
fromevent
object - Added
event.detail.willOpen
ontoggle
event
Only hijack home and end in core-input list
home
andend
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
ReactDOM.findNode
is bad practice, use refs instead
Fix lacking ReactDOM
- Fix missing
import ReactDOM from 'react-dom'
incore-toggle