mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
fix(editor): android keyboard can not be opened (#10502)
Close [BS-2674](https://linear.app/affine-design/issue/BS-2674/[android]-%E6%96%87%E6%9C%AC%E7%BC%96%E8%BE%91%E5%8C%BA%E5%9F%9F%E7%82%B9%E5%87%BB%E5%90%8E%E6%97%A0%E6%B3%95%E6%BF%80%E6%B4%BB%E9%94%AE%E7%9B%98) [BS-2609](https://linear.app/affine-design/issue/BS-2609/[android]-%E8%BE%93%E5%85%A5%E7%9A%84-toolbar-%E6%B2%A1%E6%9C%89%E4%BA%86)
This commit is contained in:
@@ -113,12 +113,6 @@ import {
|
||||
|
||||
export type KeyboardToolbarConfig = {
|
||||
items: KeyboardToolbarItem[];
|
||||
/**
|
||||
* @description Whether to use the screen height as the keyboard height when the virtual keyboard API is not supported.
|
||||
* It is useful when the app is running in a webview and the keyboard is not overlaid on the content.
|
||||
* @default false
|
||||
*/
|
||||
useScreenHeight?: boolean;
|
||||
};
|
||||
|
||||
export type KeyboardToolbarItem =
|
||||
@@ -1106,5 +1100,4 @@ export const defaultKeyboardToolbarConfig: KeyboardToolbarConfig = {
|
||||
},
|
||||
},
|
||||
],
|
||||
useScreenHeight: false,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user