multiselect-dropdown icon indicating copy to clipboard operation
multiselect-dropdown copied to clipboard

zOrderIndex!=null error fix

Open Blankeye-zero opened this issue 1 year ago • 6 comments

  • error dosent happen if the _portalController.hide() is moved into _handleOutsideTap

Blankeye-zero avatar Aug 13 '24 16:08 Blankeye-zero

#126 #127

Blankeye-zero avatar Aug 13 '24 16:08 Blankeye-zero

#118

Blankeye-zero avatar Aug 13 '24 16:08 Blankeye-zero

I have the same problem. When will the bug be fixed and a new version be released?

liuhll avatar Aug 15 '24 16:08 liuhll

@liuhll waiting for the reviewer. In the mean time, you could change the source code yourself on your version of the package. Remember, hot restart dosen't reflect changes made to installed packages. You would need to rerun the app after stopping it.

Blankeye-zero avatar Aug 16 '24 03:08 Blankeye-zero

@Blankeye-zero Thank you for your contribution. Your change indeed resolves the issue.

However, it also affects the current functionality for closing the dropdown via the controller. The listener is crucial for closing the dropdown, so it's essential to include the _portalController.hide(); call within the listener's callback to maintain that functionality.

oi-narendra avatar Aug 17 '24 02:08 oi-narendra

The solution is to remove the controller listener on widget disposal. #132

oi-narendra avatar Aug 17 '24 02:08 oi-narendra