-
-
Notifications
You must be signed in to change notification settings - Fork 258
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Extra spaces being added when custom Widgets are used with WidgetBit.inline and SelectableTextFactory #791
Comments
Ok here is something interesting, this bug is occurring when I use If I use |
The selectable variant uses a different widget to render so it may work differently. Starting from Flutter 3, that widget is no longer needed though. Which Flutter version are you on? |
Im on Flutter 3.0.2 If I stop using selectable text then I can't select text. I'm doing it as follows, without any other change to my widget factory :
I prefer using |
Apparently |
Not yet, I'm only on master channel, so I will wait until 3.1 becomes official. But when that happens, you are saying just use |
You will need to put html widget inside a selection area. |
Hi @daohoangson, could you provide a simple workable example about the |
v0.9.0 has been released with proper support for Flutter 3.3 SelectionArea. Please try upgrading and see whether it works for you. Please note that |
I will try to explain as best as I can.
Right now I have the following HTML code:
and the following Flutter/dart
This properly shows all my images, but a large number of extra blank spaces comes in after my widget.
This large space ONLY occurs, if I have a carriage return (
<br />
) in front of my textIt does NOT occur if I have no carriage return
The extra space also seems to be about the height of my Wrap/image widget
The text was updated successfully, but these errors were encountered: