Skip to content

ion-fab-button - translucent not working #16450

Closed

Description

@CoDrie

Bug Report

Ionic Info

ionic (Ionic CLI)          : 4.2.0 (/usr/lib/node_modules/ionic)
   Ionic Framework            : @ionic/angular 4.0.0-beta.15-0
   @angular-devkit/core       : 0.7.2
   @angular-devkit/schematics : 0.7.2
   @angular/cli               : 6.1.2
   @ionic/ng-toolkit          : 1.1.0
   @ionic/schematics-angular  : 1.0.7

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms     : none
   Cordova Plugins       : no whitelisted plugins (0 plugins total)

System:

   NodeJS : v10.13.0 (/usr/bin/node)
   npm    : 6.4.1
   OS     : Linux 4.15

Describe the Bug
option translucent currently not working with <ion-fab-button>

Steps to Reproduce
Insert following code somewhere in ion-content

<ion-fab-button vertical="top" horizontal="start" slot="fixed" mini translucent>
   <ion-icon name="close"></ion-icon>
</ion-fab-button>

Expected Behavior
Have a with translucent background.

Activity

  1. raulruizbarea commented on Nov 28, 2018

    @raulruizbarea

    I make it work for iOS. Imposible for browser or Android.

  2. brandyscarney commented on Nov 28, 2018

    @brandyscarney
    Member

    Thank you for the issue! I am able to reproduce this. It seems the bug is that we are adding the class fab-button-translucent to the fab button, but we are styling it with

    :host(.fab-translucent) {
      --background: #{$fab-ios-translucent-background-color};
      --backdrop-filter: #{$fab-ios-translucent-filter};
    }
    

    We will look into this, thanks!

  3. added
    type: bug
    package: core
    on Nov 29, 2018
  4. added a commit that references this issue on Dec 14, 2018
    446ee51
  5. added a commit that references this issue on Dec 14, 2018
    c2ada84
  6. ionitron-bot commented on Jan 13, 2019

    @ionitron-bot

    Thanks for the issue! This issue is being locked to prevent comments that are not relevant to the original issue. If this is still an issue with the latest version of Ionic, please create a new issue and ensure the template is fully filled out.

  7. locked and limited conversation to collaborators on Jan 13, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

package: coretype: bug

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions