NumPad 添加LightDismiss过滤器实现目标控件点击不隐藏Numpad 和 目标控件得到焦点的时候是否光标移到最后#898
Open
FireTiger23 wants to merge 4 commits intoirihitech:mainfrom
Open
NumPad 添加LightDismiss过滤器实现目标控件点击不隐藏Numpad 和 目标控件得到焦点的时候是否光标移到最后#898FireTiger23 wants to merge 4 commits intoirihitech:mainfrom
FireTiger23 wants to merge 4 commits intoirihitech:mainfrom
Conversation
…是否光标移到最后 - 在OverlayDialogOptions中新增LightDismissFilter属性用于控制关闭行为 - 在OverlayFeedbackElement中添加LightDismissFilter内部属性 - 在OverlayDialogHost中实现LightDismiss过滤逻辑,支持自定义点击区域判断 - 为NumPad控件添加MoveCaretToEnd附加属性 - 实现NumPad显示时光标自动移动到文本末尾的功能(触屏的需要) - 添加LightDismissFilter辅助函数用于判断点击是否发生在NumPad内部或目标控件内 - 优化代码格式化和注释文档
Member
|
Need to understand your use case. Not very interested in complicating dialog system for this specific control. If possible we can take numpad out of dialog. |
Contributor
Author
|
目标控件得到焦点的时候是否光标移到最后 是因为numpad 有一个向前删除的按钮,点击目标控件的时候 特别是居右的文本框(金额,数字)这种的点周后光标会在最前面 这个时候操作就很不友好。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
在OverlayDialogOptions中新增LightDismissFilter属性用于控制关闭行为
在OverlayFeedbackElement中添加LightDismissFilter内部属性
在OverlayDialogHost中实现LightDismiss过滤逻辑,支持自定义点击区域判断
为NumPad控件添加MoveCaretToEnd附加属性
实现NumPad显示时光标自动移动到文本末尾的功能(触屏的需要)
添加LightDismissFilter辅助函数用于判断点击是否发生在NumPad内部或目标控件内
优化代码格式化和注释文档