chieffancypants / angular-hotkeys

Configuration-centric keyboard shortcuts for your Angular apps.
http://chieffancypants.github.io/angular-hotkeys/
MIT License
1.68k stars 254 forks source link

cheatsheet not displayed #276

Open p1tt1 opened 6 years ago

p1tt1 commented 6 years ago

Neither in my project nor on the demo page is the CheatSheet visible. The toggleCheatSheet ()-function is called but has no visible effect.

mkilling commented 5 years ago

I could solve this by loading hotkeys.css

aramando commented 5 years ago

@p1tt1 As mkilling suggests, this is probably due to the cheat sheet element not being visible over your page because you're not loading the stylesheet.

If that doesn't help try to locate the element in your browser's inspector and confirm the element is being created in the DOM and the styles from hotkeys.css are being applied. Then play around with the styles to try to get it to display, I'd pay particular attention to position and z-index, you might have other styles which are conflicting with or overriding the ones in hotkeys.css.