Fix room input for virtual keyboard on webkit (#2346)
* Slate style has certain behavior elements that iOS expects * Swap to using that implementation
This commit is contained in:
parent
6a27720709
commit
34dd64103c
2 changed files with 20 additions and 25 deletions
|
|
@ -41,21 +41,21 @@ export const EditorTextarea = style([
|
|||
},
|
||||
]);
|
||||
|
||||
export const EditorPlaceholder = style([
|
||||
export const EditorPlaceholderContainer = style([
|
||||
DefaultReset,
|
||||
{
|
||||
position: 'absolute',
|
||||
zIndex: 1,
|
||||
width: '100%',
|
||||
opacity: config.opacity.Placeholder,
|
||||
pointerEvents: 'none',
|
||||
userSelect: 'none',
|
||||
},
|
||||
]);
|
||||
|
||||
selectors: {
|
||||
'&:not(:first-child)': {
|
||||
display: 'none',
|
||||
},
|
||||
},
|
||||
export const EditorPlaceholderTextVisual = style([
|
||||
DefaultReset,
|
||||
{
|
||||
display: 'block',
|
||||
paddingTop: toRem(13),
|
||||
paddingLeft: toRem(1),
|
||||
},
|
||||
]);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue