Aaron HS
Aaron HS
I know this is an old issue but I will post my solution here for others to see. I took code from draftjs-utils and modified it to be more generic....
> Following your idea but a little less hacky I feel is: ``` React.useEffect(() => { setEditorState( EditorState.forceSelection(editorState, editorState.getSelection()) ) }, [depsThatForceReRender]) ```
I believe the more correct way to augment the type is to do the following: ``` type Props = StoreProvider["props"] & { children: React.ReactNode } const StoreProviderCasted = StoreProvider as...
#3 - My designer doesnt like the MacOS style combobox, and prefers the combox box to be below the trigger.
Or you could do the optimization yourself with very very little effort. I had pdf's that were 5-10mb due to images, and all i did was sign up to a...