Open Nidal-Bakir opened 1 year ago
MobileSpecificParams(
androidEnableHybridComposition: false,
mobileGestureRecognizers: {
Factory
Where to put this code as it gives error when put inside the quill_editor_wrapper.
@sunilsharma2, You can put the following code in the quill_editor_wrapper.dart file. Locate the field named mobileSpecificParams
and set it to the below-specified value:
mobileSpecificParams: MobileSpecificParams(
androidEnableHybridComposition: false,
mobileGestureRecognizers: {
Factory(
() => EagerGestureRecognizer(),
),
},
),
Describe the bug
When placing the
QuillHtmlEditor
in a scrollable widget with a defined height forQuillHtmlEditor
the inner webView will not scroll.To Reproduce Steps to reproduce the behavior:
QuillHtmlEditor
with a defined height, say 150 using SizedBox or Container.QuillHtmlEditor
widget.Expected behavior Have a way to control the GestureRecognizers on the
WebViewX
Screenshots
https://github.com/the-airbender/quill_html_editor/assets/29513372/f8953d2c-ab09-4c48-906d-b5d50ab40ad4
Smartphone (please complete the following information):
Flutter Doctor
Additional context I was able to work around this by cloning the repo and modifying the code so it exposes
MobileSpecificParams
and add the following codeTo fix this bug we just need to expose the
mobileGestureRecognizers
to the end user.