Please specify what version of the library you are using: [ 3.15.0 ]
Expected / Desired Behavior / Question
It is not currently possible to use an "onClickIconPicker" property on IconPicker component neither is it available as a property used as a ref from IconPicker. In my situation I need a sortlike method to be able to open the iconPicker with the "Enter" button and it is only possible to open it with "Space" button atm. i need something like
iconPickerElement?.addEventListener("keydown", (ev) => { if ((ev as KeyboardEvent).code === "Enter") { iconPickerRef.current.onClickIconPicker(); } });)
--> see iconPickerRef.current.onClickIconPicker();
Observed Behavior
No onClickIconPicker property is present in the ref object from the iconPicker. I need to be able to use onClickIconPicker outside of the component.
Category
[ ] Enhancement
[ x ] Bug
[ ] Question
Version
Please specify what version of the library you are using: [ 3.15.0 ]
Expected / Desired Behavior / Question
It is not currently possible to use an "onClickIconPicker" property on IconPicker component neither is it available as a property used as a ref from IconPicker. In my situation I need a sortlike method to be able to open the iconPicker with the "Enter" button and it is only possible to open it with "Space" button atm. i need something like
iconPickerElement?.addEventListener("keydown", (ev) => { if ((ev as KeyboardEvent).code === "Enter") { iconPickerRef.current.onClickIconPicker(); } });)
--> see iconPickerRef.current.onClickIconPicker();
Observed Behavior
No onClickIconPicker property is present in the ref object from the iconPicker. I need to be able to use onClickIconPicker outside of the component.
Thanks!