Skip to content

Comment on Show HN: “OK Google” – Explore Google Now voice commandsparent

Comments

That's because the author set the css property `user-select` to `none`.

Why? I'm not sure, but that has nothing to do with any of the libraries listed, or even javascript at all.

I assume it is because you can click on the commands to cycle through the examples. If you didn't have this css property set you would end up selecting text.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.