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 child buttons are "shown" initially/sometimes when active=false

See original GitHub issue

react-native, react and native-base version

Other than my project, this also happens with current KitchenSink in Expo.

{
  "main": "node_modules/expo/AppEntry.js",
  "private": true,
  "scripts": {
    "test": "node ./node_modules/jest/bin/jest.js --watch"
  },
  "jest": {
    "preset": "jest-expo"
  },
  "dependencies": {
    "@expo/samples": "2.1.1",
    "@expo/vector-icons": "^6.2.1",
    "expo": "^23.0.0",
    "firebase": "^4.6.2",
    "moment": "^2.19.3",
    "native-base": "^2.3.3",
    "react": "16.0.0",
    "react-native": "https://github.com/expo/react-native/archive/sdk-23.0.0.tar.gz",
    "react-native-datepicker": "^1.6.0",
    "react-native-keyboard-spacer": "^0.4.1",
    "react-navigation": "^1.0.0-beta.19",
    "react-redux": "^5.0.6",
    "redux": "^3.7.2",
    "redux-logger": "^3.0.6",
    "redux-thunk": "^2.2.0",
    "validate.js": "^0.12.0"
  },
  "devDependencies": {
    "jest-expo": "^23.0.0"
  }
}

Expected behaviour

Fab child buttons are hidden when active=false.

Actual behaviour

Fab child buttons are “shown” initially, although partially covered or in different position. Let me show you what I mean.

KitchenSink, during first open: see that red button…?

screenshot_20171209-071534

My own app, during first open and “sometimes after toggling a few times”: see that very slight pink, that is a child button.

screenshot_20171209-071559

Note that there is no problem when active=true. The problem is only when active=false.

Is the bug present in both ios and android or in any one of them?

Only tested with Android 7.0 and Expo 23.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:1
  • Comments:11 (1 by maintainers)

github_iconTop GitHub Comments

2reactions
pnoyenscommented, Jan 28, 2019

I still see this issue in Native Base 2.10.0 when FAB on position “bottomRight”. Should be reopened.

1reaction
Choemcommented, Oct 7, 2019

Hi all, still haven’t fixed the issue. I don’t have a workaround for the native base package. I used another FAB which was less cumbersome to work with together with the navigators I used for my project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Flutter floating action button with speed dial - Stack Overflow
Here's a sketch of how to implement a Speed dial using FloatingActionButton . video import 'package:flutter/material.dart'; ...
Read more >
Flutter TabBar: A complete tutorial with examples
In this tutorial, we'll tell you everything you need to know about TabBar in Flutter, show you how to implement tabs in your...
Read more >
Disable Button in Flutter: The Simplest Way - FlutterBeads
Let's see the SIMPLEST way to disable button in Flutter with practical examples. Also learn how to disable button if textfield is empty....
Read more >
Unexplained Windows or software behavior may be caused ...
Describes behavior that may occur if your computer has deceptive software that is installed and running, and describes steps that you can take...
Read more >
Ionic Demo: UI Components & API Customization to Create ...
Action Sheets can sometimes be used as an alternative to menus, however, ... It will not scroll with the content --> <ion-fab top...
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