Open
Description
Bug report
The getScreenTypeForWidth
method in the WoltBreakpoints
determines the screen type base on the screenWidth
parameter.
wolt_modal_sheet/lib/src/utils/wolt_breakpoints.dart
Lines 12 to 21 in 43e90ae
However, the layoutModal
method in WoltDialogType
use WoltBreakpoints.small
as the screen type for all screen scenarios.
This means that regardless of the actual screen width, it always displays dialogs as if on a small screen. Is this a bug?
wolt_modal_sheet/lib/src/modal_type/wolt_dialog_type.dart
Lines 50 to 82 in 43e90ae
Steps to reproduce
Steps to reproduce the behavior:
- Go to '...'
- '...'
- See error or incorrect behavior
Expected behavior
A clear and concise description of what you expected to happen.
Additional context
Add any other context about the problem here.