mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-11-30 02:58:26 +08:00
fix keyboard position
This commit is contained in:
parent
7faf86a6a9
commit
905241076f
@ -5,6 +5,7 @@
|
||||
* 修复在高亮的对话下切换主题后高亮截图没有刷新的问题(感谢兆坤提供补丁)
|
||||
* 删除demoui无用代码(感谢兆坤提供补丁)
|
||||
* 完善demoui(感谢兆坤提供补丁)
|
||||
* 修复edit弹出软键盘异常问题(感谢兆坤提供补丁)
|
||||
* 完善fscrit_widget
|
||||
|
||||
2022/06/20
|
||||
|
@ -289,6 +289,7 @@ static ret_t input_type_open_keyboard(input_method_t* im, const char* keyboard_n
|
||||
|
||||
caret_bottom = input_method_default_get_edit_caret_bottom(widget, im->keyboard);
|
||||
caret_bottom += win_delta_y;
|
||||
caret_bottom = tk_min(caret_bottom, win->y + win->h);
|
||||
if (widget_get_prop_bool(im->keyboard, WIDGET_PROP_FLOATING, FALSE)) {
|
||||
input_type_keyboard_follow_edit(im);
|
||||
if (im->keyboard->y < p.y) {
|
||||
|
Loading…
Reference in New Issue
Block a user