The widget displaying over htmlelementview is not detecting gestures in flutter?

Issue

I have placed a dropdown button in appbar which shows a dropdown list. In the body of my page, i am displaying a iframewidget using htmlelementview . When i click the dropdown button,the dropdown list is displaying over the iframe widget(which is the body of the page) and if i select the option from my dropdown list,there is no gesture detection(because it is displaying over the iframe) .
How to solve this?

Solution

You can wrap the dropdown list in a PointerInterceptor from pub.dev: pointer_interceptor

Answered By – lrsvmb

Answer Checked By – Katrina (FlutterFixes Volunteer)

Leave a Reply

Your email address will not be published. Required fields are marked *