James Towers

Results 11 comments of James Towers

I have found that wrapping `children` in a `span` and adding `attributes` to the span as opposed to the Styled Component solves @DraGonM 's issue above: ```jsx // bad //...

I get this when converting styled components: ```js export const ButtonStyled = styled.button ` // It tries to add @ts-expect-error here ${props => props.isSmall && css ` ${SmallButtonStyles} `} `;...

~~I'm also struggling with this, every item apart from the list above is OK apart from the last - there's no webrtc card when adding a card to the dashboard~~...

Is there any update on this or has this idea been canned?

The last working version is `4.6.6` This breaks es5 compilation so IE11 gets es6 code and won't load.

If using v6, you can replace `ThemedCssFunction` with `StyleFunction`

@clauderic I can confirm that undoing the change in #4324 does fix this issue. ~~Strangely I also can't replicate the backwards typing bug, where there particular circumstances in which you...

Thanks @clauderic, unfortunately the `preventDefault()` trick doesn't quite work as expected in Safari and often returns focus to the wrong place, see gif below, whereas `ReactEditor.focus(editor) ` acts as you'd...

@Harsh1796 is the older version to prevent the null selection issue you first posted above, or are there other issues too? I may be missing something but I feel the...

Does anyone know the root cause of #4324? I expect it's a safari quirk? I'd be keen to work on an alternative solution if we had an idea of where...