question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature Request] Add support for `onLongPress` on `FAB.Group` component

See original GitHub issue

The experience I’d like to achieve with the FAB.Group component is the following:

  • onLongPress => show the underlying FABs
  • onPress => do something else

I’m wondering, was the callback left out intentionally (e.g. to comply with the Material Design spec) or just an oversight (considering that the FAB supports onLongPress already)?

Happy to put together a PR if this is something desirable.

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:17 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
lukewalczakcommented, Oct 27, 2022

I think introducing the new prop e.g. toggleStackOnPressEnabled with default true value is more convenient.

0reactions
lukewalczakcommented, Oct 30, 2022

Sure @fabriziocucci, I will be happy to accept your contribution!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Bountysource
[Feature Request] Add support for `onLongPress` on `FAB.Group` component. ... Help and Information. Frequently Asked Questions · Bugs and Feature Requests ...
Read more >
FAB.Group · React Native Paper
A component to display a stack of FABs with related actions in a speed dial.
Read more >
FloatingActionButton onLongPress listener in Flutter
See at: Flutter - I want to select the card by onLongPress? ... nest the FAB in the GestureDetector like this to achieve...
Read more >
React Native Paper (@rn_paper) / Twitter
0 The new version contains some light changes: 🏷️ introducing label prop to http://FAB.Group ‍ adding style prop for customizing TextInput content ...
Read more >
react-native-elements | Yarn - Package Manager
Important: This documentation covers modern versions of Yarn. For 1.x docs, see classic.yarnpkg.com. Yarn. ≡. Home · Getting started · Features.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found