mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(input): improve reliability of scroll assist when accessory bar is enabled (#21936)
fixes #21912 Co-authored-by: Liam DeBeasi <liamdebeasi@icloud.com>
This commit is contained in:
@@ -34,7 +34,7 @@ const calcScrollData = (
|
||||
|
||||
// compute safe area
|
||||
const safeAreaTop = visibleAreaTop + 15;
|
||||
const safeAreaBottom = visibleAreaBottom - 15;
|
||||
const safeAreaBottom = visibleAreaBottom * 0.75;
|
||||
|
||||
// figure out if each edge of the input is within the safe area
|
||||
const distanceToBottom = safeAreaBottom - inputBottom;
|
||||
|
||||
Reference in New Issue
Block a user