Skip to content

Commit 0c7c58d

Browse files
Sahil-SimformSahil Totala
andauthored
fix: 🐛Fixed showcase.withWidget not showing issue (#495)
Co-authored-by: Sahil Totala <[email protected]>
1 parent 441ca78 commit 0c7c58d

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## [4.0.1] - (UnRelease)
2+
- Fixed [#493](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/493) - Fixed showCase.withWidget not showing issue
3+
14
## [4.0.0]
25
- [BREAKING] Fixed [#457](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/issues/457) - titleAlignment property does not work
36
- Feature [#466](https://github.com/SimformSolutionsPvtLtd/flutter_showcaseview/pull/466) - Added Action widget for tooltip

lib/src/showcase.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -615,7 +615,7 @@ class _ShowcaseState extends State<Showcase> {
615615
void _scrollIntoView() {
616616
WidgetsBinding.instance.addPostFrameCallback((timeStamp) async {
617617
final keyContext = widget.key.currentContext;
618-
if (!mounted || (keyContext?.mounted ?? true)) return;
618+
if (!mounted) return;
619619
setState(() => _isScrollRunning = true);
620620
await Scrollable.ensureVisible(
621621
keyContext!,

lib/src/tooltip_widget.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -709,7 +709,7 @@ class _ToolTipWidgetState extends State<ToolTipWidget>
709709
// when there is big action widget which make
710710
// the tool tip to change it's position
711711
Offstage(
712-
offstage: _tooltipActionSize == null,
712+
offstage: isSizeRecalculating,
713713
child: SizedBox(
714714
width: tooltipWidth,
715715
child: Column(

0 commit comments

Comments
 (0)