Code Monkey home page Code Monkey logo

paper-fab-menu's People

Contributors

cwdoh avatar jokagent avatar zdarovka avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

paper-fab-menu's Issues

Greyed out on iOS

Nice work with the menu!

Similar to googlearchive/core-overlay#56, the menu and tooltips appear "below" the core-overlay in iOS 8.
In this case though, layered is already specified and I can't actually get any paper-fab-menu-item on-tap handler to be invoked, so the overlay is actually above the menu in this case.

Core-overlay issue when used within paper-dialog

Hi there,
Excellent work, but I've found an issue when this is used within a paper-dialog which has the 'backdrop' tag.

Symptoms:

  1. The core-overlay that should be triggered when the menu is shown appears behind the paper-dialog instead of between the paper-dialog and the paper-fab-menu
  2. When the paper-dialog is closed, one of the core-overlay-layers retains the class "core-opened". This means that a transparent overlay stays open above the rest of the ui, so that the user can't interact with any components! I don't know whether the one that is left open is from the dialog backdrop or the paper-fab-menu

I'm trying to find a fix/workaround for this but so far I haven't been able to

Ignores icon atribute initially

When using an icon other than the menu icon, the paper-fab-menu displays the menu icon until toggled on and off. Adding this fixes it

domReady: function() {
this.$.trigger.icon = this.icon;
},

Fab menu has too much click area when closed

When the menu is in the open state, it takes up the items + fab button's area. This is fine, because the user expects that clicking on them registers to the fab menu element. However, when the menu is closed (with only the fab button showing), the area still covers the items. Trying to click on an element behind it registers on the fab menu instead, which is counter intuitive because there's nothing there.

Default z-index

We're using other things with overlays in our application but paper-fab-menu has a default z-index: 10000 which causes it to always be on top.

I'd rather see that you put the paper-fab-menu in an element with the correct z-index already, and the menu just takes care of itself when activated.

For a quick fix, I'd recommend moving the rule

.container {
  z-index: 10000;
}

down to a

.container.show {
  z-index: 10000;
}

rule to make sure it only elevates above everything once activated.

I guess this is somewhat related to #2 as well.

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.