Fintasys / emoji_picker_flutter

A Flutter package that provides an Emoji picker widget with 1500+ emojis in 8 categories.
MIT License
154 stars 114 forks source link

Error When Swiping Emojis Horizontally and Vertically Simultaneously on Linux Desktop #201

Open Vinayak006 opened 1 month ago

Vinayak006 commented 1 month ago

I encountered an issue with the emoji_picker_flutter package on the Linux Desktop platform. When emojis are swiped both horizontally and vertically at the same time, the following error is thrown:

FlutterError (The provided ScrollController is currently attached to more than one ScrollPosition.
The Scrollbar requires a single ScrollPosition in order to be painted.
When the scrollbar is interactive, the associated ScrollController must only have one ScrollPosition attached. The provided ScrollController must be unique to one ScrollView widget.)

Steps to Reproduce:

    1. Run a Flutter application on Linux Desktop.
    2. Add the _emoji_picker_flutter_ package to the application.
    3. Swipe the emoji picker both horizontally and vertically at the same time.

Expected Behavior:

The emoji picker should handle the swipe gestures gracefully without throwing an error.

Actual Behavior:

An error is thrown indicating that the provided ScrollController is attached to more than one ScrollPosition.

Environment:

emoji_picker_flutter version: 2.2.0 Flutter version: 3.19.6 Platform: Linux Desktop