Open LiangLuDev opened 2 months ago
Hello @LiangLuDev Can you check the Custom Modal Type section in ReadMe, and create a custom modal type with a custom minFlingVelocity
?
https://pub.dev/packages/wolt_modal_sheet#defining-custom-modal-types
Hello @LiangLuDev Can you check the Custom Modal Type section in ReadMe, and create a custom modal type with a custom
minFlingVelocity
?
Yes, I found this parameter and tried to set this property. Unfortunately, it did not take effect. I also tried it in the test demo you provided, but it did not work either.
Yikes! Thanks for reporting. I will take this. Maybe @durannumit can also take a look?
Yikes! Thanks for reporting. I will take this. Maybe @durannumit can also take a look?
sure I will check according to comments
When using WoltModalSheet.show, the modal does not follow the finger movement smoothly when attempting to close it by pulling down (similar to ModalBottomSheet). Instead, it requires significant force to pull down and close. I couldn’t find a setting to modify this behavior and am unsure if it can be adjusted.
Additionally, the distance from the top of the modal to the status bar cannot be modified. I have set the forceMaxHeight property, but it does not change the distance.
Could you please provide guidance on how to resolve these issues?
Reproduction Steps:
Expected Behavior:
The modal should smoothly follow the finger movement when pulling down to close, similar to the behavior of ModalBottomSheet. Additionally, the distance from the top of the modal to the status bar should be adjustable.
Actual Behavior:
The modal requires significant force to pull down and close, and the distance to the status bar cannot be modified even when setting the forceMaxHeight property.
Environment:
Thank you for your assistance!