[Interest] QML: TapHandler: ignore events on popup close
Shawn Rutledge
Shawn.Rutledge at qt.io
Fri Feb 27 17:54:12 CET 2026
> On Feb 27, 2026, at 17:02, Alexander Dyagilev <alervdvcw at gmail.com> wrote:
>
> Hello,
>
> I've just found out that in case the user clicks outside of a popup (e.g. menu) in order to just close it, then the underlying TapHandler element still gets notifications no matter which gesturePolicy/grabPermissions flags I'm trying to use.
>
> Is there a way to fix this? Am I missing something?
>
> The only workaround for now I'm aware of is to just return back to using the MouseArea component which does not have this issue…
There are various bugs such as QTBUG-136511 https://qt-project.atlassian.net/browse/QTBUG-136511 . I guess we will have to prioritize that, since it keeps coming up.
More information about the Interest
mailing list