Code Monkey home page Code Monkey logo

Comments (5)

chieffancypants avatar chieffancypants commented on June 24, 2024

What browser? And is this is the state when it is supposed to be hidden or shown?

from angular-hotkeys.

poshest avatar poshest commented on June 24, 2024

Chrome v34. It's supposed to be hidden at this point. When it's shown (when I press ?) it shows nicely thus.

image

Don't worry too much about it though. Because of the textboxes issue (which I didn't see, sorry, didn't look at closed issues) I won't be able to use this great plugin.

from angular-hotkeys.

poshest avatar poshest commented on June 24, 2024

OK, I got it working OK if I put { background-color: white; z-index: 0; } on the .content class, which is on the div that contains all those textareas you see interlaced between the cheatsheet on the "hidden" image. If it's not just an anomaly on my browser/app, maybe you could update the docs to mention the assumption that you must have something covering the browser window that's opaque and has a z-index>-1024 (is that the minimum possible? :D ) in order for the cheatsheet not to show through. I mean, anyone can read the CSS you provide and fix their own apps, but it might be useful for people to understand your assumptions at the outset. Awesome work again. And I'm a customer again. Just read about class="mousetrap". Thanks!

from angular-hotkeys.

sondreb avatar sondreb commented on June 24, 2024

Could anyone explain the reasoning for using z-index to hide and show the cheatsheet? The way it works now, it displays for a split second and then I have to "hide" it with my content. Not a good solution for my needs and use, so here is a workaround if anyone want's to completely hide it and show when requested.

Add the following to the .cfp-hotkeys-container class in hotkeys.css:

visibility: hidden;

Then add this in the .cfp-hotkeys-container.fade.in class:

visibility: visible;

from angular-hotkeys.

chieffancypants avatar chieffancypants commented on June 24, 2024

It's not using z-index to show and hide -- it's using fade classes from bootstrap for that. Not everyone will be using bootstrap, so it was meant to degrade and just not animate. That said, makes sense to add these few properties which can always be overridden later on by an app's CSS.

from angular-hotkeys.

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.