flutter_tex icon indicating copy to clipboard operation
flutter_tex copied to clipboard

Clicking buttons don't work with flutter_tex

Open Seamate opened this issue 2 years ago • 3 comments

Question: Are you using the latest version of flutter_tex package? pub package Answer: Yes Buttons whose child is a TeXViewDocument are not clickable. Only the space outside the button or edge of the button is clickable. The main body of the button is not clickable. This makes it extremely difficult to use flutter_tex on a quiz app. button-not-clickable

Seamate avatar May 20 '22 02:05 Seamate

@Seamate I am facing the same issue. Did you find any solution?

programmeraditya avatar Sep 20 '23 15:09 programmeraditya

i have solve it by this way: Stack( children: [ TeXView( renderingEngine: TeXViewRenderingEngine.katex(), child: TeXViewDocument("

", ), ), GestureDetector( onTap: //your function, child: Container( color: Colors.transparent, width: MediaQuery.of(context).size.width, height: //your button height,)) ], )

NubianCode avatar Apr 24 '24 02:04 NubianCode