mirror of
https://github.com/utopia-os/utopia-ui.git
synced 2026-03-01 12:44:17 +00:00
fix fullscreen mode
This commit is contained in:
parent
ae95732358
commit
155cb493e3
@ -50,9 +50,12 @@ export function TextAreaInput({
|
||||
setShowToolbar(true)
|
||||
}
|
||||
|
||||
/*
|
||||
// Collides with fullscreen mode
|
||||
const handleBlur = () => {
|
||||
setShowToolbar(false)
|
||||
}
|
||||
*/
|
||||
|
||||
const options = useMemo(() => {
|
||||
return {
|
||||
@ -147,7 +150,7 @@ export function TextAreaInput({
|
||||
placeholder={placeholder ?? ''}
|
||||
onChange={handleChange}
|
||||
onFocus={handleFocus}
|
||||
onBlur={handleBlur}
|
||||
// onBlur={handleBlur}
|
||||
options={options}
|
||||
className={`${inputStyle ?? ''} ${showToolbar ? '' : 'hide-toolbar'}`}
|
||||
/>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user