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(
top: 0,
child: MeasureRenderBox(
onChange: _setTooltipSize,
child: Opacity(
opacity: 0.0,
child: Container(
constraints: const BoxConstraints(
minWidth: 200.0,
maxWidth: 400.0,
),
child: InstructionsInlineTooltip(
instructionsEnum:
widget.overlayController.toolbarMode.instructionsEnum ??
InstructionsEnum.readingAssistanceOverview,
bold: true,
child: IgnorePointer(
child: MeasureRenderBox(
onChange: _setTooltipSize,
child: Opacity(
opacity: 0.0,
child: Container(
constraints: const BoxConstraints(
minWidth: 200.0,
maxWidth: 400.0,
),
child: InstructionsInlineTooltip(
instructionsEnum: widget
.overlayController.toolbarMode.instructionsEnum ??
InstructionsEnum.readingAssistanceOverview,
bold: true,
),
),
),
),

Loading…
Cancel
Save