Giter Club home page Giter Club logo

Comments (4)

adam-snyder avatar adam-snyder commented on July 22, 2024 1

For anyone still wanting hover functionality, I found that this style was causing the jitter between actions:

eco-fab-speed-dial .eco-fab-speed-dial-container eco-fab-speed-dial-actions {
    display: flex;
    position: absolute;
    height: 0;
    width: 0;
}

In my case, I just override the position, width and height and that seems to solve the issue.

I made a SCSS mixin I just attach to the top-level element:

@mixin eco-fab-speed-dial-hover-fix() {
  ::ng-deep .eco-fab-speed-dial-container eco-fab-speed-dial-actions {
    position: initial;
    height: initial;
    width: initial;
  }
}

eco-fab-speed-dial {
  @include eco-fab-speed-dial-hover-fix();
}

Or just as a global override:

eco-fab-speed-dial .eco-fab-speed-dial-container eco-fab-speed-dial-actions {
  position: initial !important;
  height: initial !important;
  width: initial !important;
}

Hopefully this helps.

from fab-speed-dial.

PowerKiKi avatar PowerKiKi commented on July 22, 2024

This is correct and is easily reproduced on the demo page.

However this is not something we use, and don't plan to fix it ourselves. So feel free to submit a PR if you want to see it fixed. In the meantime I suggest you to consider not using hover as it is not mobile friendly anyway.

from fab-speed-dial.

PowerKiKi avatar PowerKiKi commented on July 22, 2024

As a matter of fact I was considering dropping support for hover entirely, as I cannot see anything related to hover in the specs and it can never be very mobile friendly.

from fab-speed-dial.

mattbizley-bds avatar mattbizley-bds commented on July 22, 2024

OK. No problem. Will put it on the todo list

from fab-speed-dial.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.