aeternity / aepp-components

deprecated: aepp-components to be used in all aepps.
ISC License
41 stars 14 forks source link

Improve AeButton #127

Closed davidyuk closed 6 years ago

ghost commented 6 years ago

@davidyuk

One improvement you can do on the button is to disable selecting! I've noticed when I was running the iOS when I would like the button, the text inside the button would be selected!

The solution to disable selectable text: https://github.com/aeternity/aepp-components/blob/develop/src/base/globals/_mixins.scss#L23

davidyuk commented 6 years ago

@sqevani can you open a separate issue for it? I think there is no reason to change the standard browser behavior in this case.

davidyuk commented 6 years ago

The solution to disable selectable text: https://github.com/aeternity/aepp-components/blob/develop/src/base/globals/_mixins.scss#L23

Instead of this mixin, you should use user-select property with autoplrefixer.