We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XPopup版本 2.10.0
手机系统和型号 荣耀X40 GT
描述你的问题
在dialog点击外围消失的时候,会多次执行dismiss方法,如图所示,在点击非dialog区域,在onTouchEvet方法中会执行MotionEvent.ACTION_MOVE与MotionEvent.ACTION_UP两个动作中的checkDismissArea(event); 其中每次调用checkDismissArea(event)就调用了dismiss,所以dismiss会执行多次,demo也能复现此问题
The text was updated successfully, but these errors were encountered:
补充图片,点击一次外围调用了4次dismiss
Sorry, something went wrong.
No branches or pull requests
XPopup版本
2.10.0
手机系统和型号
荣耀X40 GT
描述你的问题
在dialog点击外围消失的时候,会多次执行dismiss方法,如图所示,在点击非dialog区域,在onTouchEvet方法中会执行MotionEvent.ACTION_MOVE与MotionEvent.ACTION_UP两个动作中的checkDismissArea(event); 其中每次调用checkDismissArea(event)就调用了dismiss,所以dismiss会执行多次,demo也能复现此问题
![image](https://private-user-images.githubusercontent.com/15795966/320737068-2947ec5c-40a4-4e00-8431-d75b42e7fed0.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjUwNjI0OTcsIm5iZiI6MTcyNTA2MjE5NywicGF0aCI6Ii8xNTc5NTk2Ni8zMjA3MzcwNjgtMjk0N2VjNWMtNDBhNC00ZTAwLTg0MzEtZDc1YjQyZTdmZWQwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MzAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODMwVDIzNTYzN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTVkOGM3ZjgxMjg2YjI4MjE4ZjczNjcwNzk5ZWM5MDU4ODllMDlmNGM1NDIyZWU1NTM4Y2RmMGE5NjVkMThlNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.bOjGiVTEAJPlkR5gDGzJ598Fisgfwpme1ufnRsCrx4M)
The text was updated successfully, but these errors were encountered: