chore: wrap invisible inline tooltip in ignorepointer to prevent it convering up overlay header buttons (#2248)

pull/1817/head
ggurdin 7 months ago committed by GitHub
parent b7b5522649
commit 66e0f867d1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -525,20 +525,22 @@ class MessageSelectionPositionerState extends State<MessageSelectionPositioner>
), ),
Positioned( Positioned(
top: 0, top: 0,
child: MeasureRenderBox( child: IgnorePointer(
onChange: _setTooltipSize, child: MeasureRenderBox(
child: Opacity( onChange: _setTooltipSize,
opacity: 0.0, child: Opacity(
child: Container( opacity: 0.0,
constraints: const BoxConstraints( child: Container(
minWidth: 200.0, constraints: const BoxConstraints(
maxWidth: 400.0, minWidth: 200.0,
), maxWidth: 400.0,
child: InstructionsInlineTooltip( ),
instructionsEnum: child: InstructionsInlineTooltip(
widget.overlayController.toolbarMode.instructionsEnum ?? instructionsEnum: widget
InstructionsEnum.readingAssistanceOverview, .overlayController.toolbarMode.instructionsEnum ??
bold: true, InstructionsEnum.readingAssistanceOverview,
bold: true,
),
), ),
), ),
), ),

Loading…
Cancel
Save