Skip to content
New issue

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

多个popupWindows叠加的时候,activity onPause然后重新onResume会导致popupWindows叠加顺序改变 #89

Closed
tpnet opened this issue Oct 24, 2018 · 5 comments
Labels

Comments

@tpnet
Copy link

tpnet commented Oct 24, 2018

该问题是怎么引起的?

显示了两个popupWindows,然后在popupWindows不消失的情况下新打开了另一个activity,然后关掉这个新的activity,会导致popupWindows叠加顺序改变,之前在底部的popupWindows到了最上层了

重现步骤

导入demo源码,在ScalePopup49行添加一行代码:

                new DialogPopup((Activity) getContext()).showPopupWindow();

运行之后,在缩放Popup 点击第一个,手机锁屏,然后解锁,可以看到这时候显示的是 test1 的列表

报错信息/系统版本

木有报错信息,魅蓝m1 note, Android版本5.1,flyme6.3.0.2A

建议或优化点

不知道啥问题

@tpnet
Copy link
Author

tpnet commented Oct 24, 2018

魅族16, Android8.1 没有问题,,好像是低版本的Android才会这样

@razerdp
Copy link
Owner

razerdp commented Oct 24, 2018

我明天看看

razerdp added a commit that referenced this issue Oct 25, 2018
@razerdp
Copy link
Owner

razerdp commented Oct 25, 2018

已解决,请更新candy版: 2.0.8-alpha3

@razerdp razerdp closed this as completed Oct 25, 2018
@razerdp razerdp reopened this Oct 30, 2018
@razerdp razerdp added the bug label Oct 30, 2018
@razerdp
Copy link
Owner

razerdp commented Dec 6, 2018

2.1.0-beta (candy)解决。将在后续发布release

@razerdp razerdp closed this as completed Dec 6, 2018
@tpnet
Copy link
Author

tpnet commented Dec 6, 2018

@razerdp 卧槽 ,牛逼,怎么解决的,还没看到commit

razerdp added a commit that referenced this issue Dec 6, 2018
razerdp added a commit that referenced this issue Dec 7, 2018
razerdp added a commit that referenced this issue Dec 7, 2018
razerdp added a commit that referenced this issue Jun 29, 2021
razerdp added a commit that referenced this issue Jun 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants