flutter_tex icon indicating copy to clipboard operation
flutter_tex copied to clipboard

Scrolling not working texviewgorup

Open Silfalion opened this issue 3 years ago • 7 comments

Question: Are you using the latest version of flutter_tex package? pub package Answer: Yes Question: If you are looking for a feature, have you watched the Demo Video and gone through the examples folder? Answer: No

When using a texview with a texgroup like for a quiz scrolling stops working once you choose an answer.

This also affects the latest version example. Shrink the page height wise until half the questions are not visibile then choose a question. After that you can't scroll anymore.

Silfalion avatar Feb 16 '22 14:02 Silfalion

Hi, I just checked and it's working fine here, could you please share some reproducible code?

Shahxad-Akram avatar Feb 17 '22 09:02 Shahxad-Akram

The code is a little hard to share but here is a video using the latest build web version.

The scroll at the end happened because my cursor was the widget containing Question 1, so I think the webview is absorbing the scroll. This didn't happen in the demo web of right now, but I don't know what version of flutter tex was used for it.

https://user-images.githubusercontent.com/23188369/154445583-b8da3bea-34e0-4357-9bab-c5dd1794f145.mp4

Edit: apologies for the multiple cursor, what I was trying to do is use the scrollbar but to no avail.

Silfalion avatar Feb 17 '22 09:02 Silfalion

OK, I got this, currently, avoid using TeXView for the web. I couldn't find the reason, maybe it's from the iFrame, I need to figure that out.

Shahxad-Akram avatar Feb 18 '22 17:02 Shahxad-Akram

I understand and thank you. Is there an alternative to texview though? or you mean the whole package?

Silfalion avatar Feb 19 '22 20:02 Silfalion

Sorry I mean to say that avoid using TeXView for the web in any scroll view / listview, otherwise, it works fine. I have edited my comment.

Shahxad-Akram avatar Feb 20 '22 11:02 Shahxad-Akram

Ah I see. Understood. Thank you.

Silfalion avatar Feb 20 '22 11:02 Silfalion

Is there any known workaround to this issue?

GugaLincon avatar Jan 08 '24 19:01 GugaLincon