mirror of
https://gitee.com/openharmony/arkui_ace_engine
synced 2024-11-23 15:10:30 +00:00
修复bindSheet1ad1
Signed-off-by: sun-xinyan <sunxinyan2@huawei.com> Change-Id: I43f2fee06cbf667fe8f99c4c2e45a32c27375a62
This commit is contained in:
parent
25f02007ce
commit
9731b3da05
@ -817,6 +817,9 @@ float SheetPresentationPattern::GetSheetHeightChange()
|
||||
CHECK_NULL_RETURN(pipelineContext, .0f);
|
||||
auto manager = pipelineContext->GetSafeAreaManager();
|
||||
auto keyboardInsert = manager->GetKeyboardInset();
|
||||
if (keyboardInsert.Length() == 0) {
|
||||
return 0.f;
|
||||
}
|
||||
auto textFieldManager = DynamicCast<TextFieldManagerNG>(pipelineContext->GetTextFieldManager());
|
||||
// inputH : Distance from input component's Caret to bottom of screen
|
||||
// = caret's offset + caret's height + 24vp
|
||||
|
Loading…
Reference in New Issue
Block a user