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

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?

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

Related

Flutter HtmlElementView makes floatingActionButton not clickable [duplicate]

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?
You can wrap the dropdown list in a PointerInterceptor from pub.dev: pointer_interceptor

Searchable spinner in Flutter

I want to get effect similar as here:
https://github.com/michaelprimez/searchablespinner
Flutter includes a dropdown button, but can we add searching functionality to it? Where can I start?
You should create a StatefulWidget (button for example) which its root widget is a GestureDetector, then showDialog on button tap.
Dialog should contain a list of items as state and a ListView.builder() to build items. When you search you should render items with items.where() to filter items.

Where is magnifying glass button came from

During inspecting scaffold Flutter project (without any modification) with Flutter Inspector in some cases of toggling widgets in left bottom corner magnifying glass button appear.
Where is it come from and what is its purpose?
Attached screenshots show that this button exists only on Render Tree tab.
This button appears only after you turned on "Select Widget Mode" in Flutter Inspector and selected a first widget to inspect. In order to inspect another widget you first need to tap the magnifier FAB.

Does flutter has any equivalent widget as android spinner?

I know there is DropDown Button but how dropdown button work is it show content in popup style and i want to implement autocomplete textfield and want to interact with textfield while suggestion come under textfield.
There is a package available for this that you can use and it works very nicely.
You can also fetch the suggestions list from API.
Here is the link
https://github.com/jebright/flutter_typeahead_plugin

yahoo AutoComplete widget Dropdown is floating when scrolling the page

I have yahoo autocomplete widget on my web page. if you click on Button a dropdown appears. Now if the page on which dropdown appears have scroll bars and you try to scroll, the whole page gets scrolled But the Dropdown retain the same place.
I have instantiated the auto complete widget as following:
new YAHOO.widget.AutoComplete("inputBox.id", "inputBox.container_id", dataSource);
So how we can make the dropdown move with the text field while scrolling?
Thank you
Got the Problem, the position style of yui-ac-container was override in my case. Because of that the dropdown was floating in the air. Changed the postition attribute from fixed to absolute and it work as expected.