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.

Fab bad ui when using single fab

See original GitHub issue

Current behaviour

Using just FAB without Group for single action renders the fab badly

Expected behaviour

The <FAB> should be rendered in same way when using <FAB.Group>

Code sample

<Portal> <FAB small icon="add" onPress={() => console.log('Pressed')} /> </Portal>

Screenshots (if applicable)

screen shot 2018-09-28 at 7 24 56 pm

What have you tried

Tried without Portal but same bug only it renders it at bottom this time with same ui bug

Your Environment

software version
ios or android android
react-native 0.57.0
react-native-paper 2.0.1
node v10.11.0
npm or yarn yarn

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Trancevercommented, Oct 2, 2018
1reaction
satya164commented, Sep 29, 2018

sorry, this is weekend. that’s how flexbox works by default. you can wrap the Fab in a view with alignItems: center

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is the floating action button bad UX design? | by Usabilla
The FAB distracts from the immersive photo viewing experience by taking up space on the screen and blocking elements of some images. That...
Read more >
Floating Action Button in UX Design | by Nick Babich - UX Planet
Avoid using unclear icons ... The major problem with FAB is that it's icon-only button and many icons are really hard to understand...
Read more >
Do material design's floating action buttons provide a bad UX?
The single floating action button is, in many ways, an improvement from a usability perspective. ... That said, a FAB isn't appropriate for...
Read more >
FAB is bad design : r/Android - Reddit
I disagree with that sentence. Material design is supposed to be some kind of magical paper, and the FAB is part of the...
Read more >
The Usability of the Animated FAB PART 1/2 - CINNAMON
On the negative sides of the use of the FAB, some authors and professional UX/UI designers argue that the FAB is a failure...
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