Skip to content

Commit

Permalink
fix: make quill toolbar scrollable on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Apr 3, 2024
1 parent 2a60af4 commit b4f3307
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/components/toolbar/toolbar.dart
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
import 'dart:io';

import 'package:collapsible/collapsible.dart';
import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
Expand Down Expand Up @@ -301,6 +303,9 @@ class _ToolbarState extends State<Toolbar> {
iconTheme: iconTheme,
),
),
// scrollable on Android and iOS
multiRowsDisplay:
!Platform.isAndroid && !Platform.isIOS,
showUndo: false,
showRedo: false,
showFontSize: false,
Expand Down

0 comments on commit b4f3307

Please sign in to comment.