Mobile FLoatingActions

Mobile FLoatingActions

  

I wanted to hide FLoatingActions when I press a button. Any idea?

Solved.

Hi Mário,

Could you perhaps detail how you solved it, so anyone having the same problem could use this post as a reference?

Hi Mário,

in your "solution" GIF I see you've successfully hidden the "+" sign, but the shadow seems to still stay... was that your goal?

Solution

Hi Jorge, Thank noticed this, but this was not the final solution.


The problem was to have 2 tabs in which one has the Floating Actions and the other does not.

Attempt 1.  IF, it does not work.

Attempt 2. JavaScript, using the 'display: none' property, did not work either

Attempt 3. JavaScript, using 'visibility: hidden' property works fine



Solution

Hi Mario,

If you paste screenshot of the screen where you have applied Javascript, that would be nice.