mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-27 10:52:40 +08:00
fix(mobile): incorrect height of keyboard toolbar in ios (#8653)
### What Changes: - Fix keyboard height calculation with the `KeyboardToolBarConfig.useScreenHeight = true`. More detials in: https://github.com/toeverything/blocksuite/pull/8645 - Add safe bottom padding for shrinked keyboard toolbar - Add `VirtualKeyboard` polyfill. Close [AF-1573](https://linear.app/affine-design/issue/AF-1573/virtualkeyboard-polyfill-with-capacitor) - Since the `@capacitor/keyboard` dose not implement the `Keyboard.show()` method, this polyfill is not enabled now.
This commit is contained in:
10
yarn.lock
10
yarn.lock
@@ -606,6 +606,7 @@ __metadata:
|
||||
"@capacitor/cli": "npm:^6.1.2"
|
||||
"@capacitor/core": "npm:^6.1.2"
|
||||
"@capacitor/ios": "npm:^6.1.2"
|
||||
"@capacitor/keyboard": "npm:^6.0.2"
|
||||
"@sentry/react": "npm:^8.0.0"
|
||||
"@types/react": "npm:^18.2.75"
|
||||
"@types/react-dom": "npm:^18.2.24"
|
||||
@@ -2991,6 +2992,15 @@ __metadata:
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@capacitor/keyboard@npm:^6.0.2":
|
||||
version: 6.0.2
|
||||
resolution: "@capacitor/keyboard@npm:6.0.2"
|
||||
peerDependencies:
|
||||
"@capacitor/core": ^6.0.0
|
||||
checksum: 10/cef4cce5c703fd67ceed3f04736a6513e05423006a5b4571d88d07a5849b79fc9f1ec98759606b7498ec1b604e5ee7987e5e30e61e9835538a29238ffbe3b036
|
||||
languageName: node
|
||||
linkType: hard
|
||||
|
||||
"@chromatic-com/storybook@npm:^3.0.0":
|
||||
version: 3.0.0
|
||||
resolution: "@chromatic-com/storybook@npm:3.0.0"
|
||||
|
||||
Reference in New Issue
Block a user