Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SkinToneSelector doesnt close if not selected #8

Open
Asquare17 opened this issue Sep 23, 2024 · 2 comments
Open

SkinToneSelector doesnt close if not selected #8

Asquare17 opened this issue Sep 23, 2024 · 2 comments

Comments

@Asquare17
Copy link

Step to reproduce

  • Select the skin tone option
  • Select an emoji
  • Skin tone remains on screen even if you pop off the page.
@kishankumawat03
Copy link

same here.
only open skin tone modal and close bottomSheet by tapping outside.

@kishankumawat03
Copy link

change code in skin_tone_selector.dart

return OverlayEntry(
builder: (context) => GestureDetector(
onTap: () {
_overlayEntry.remove();
setState(() {
_expanded = false;
});
},
child: Stack(
children: [
Container(
color: Colors.transparent,
constraints: const BoxConstraints.expand(),
),
Positioned(
left: offset.dx - w + size.width,
top: offset.dy - size.height,
width: w,
height: size.height,
child: Material(
elevation: 4.0,
child: Row(
children: dots,
),
),
),
],
),
),
);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants