3 ms·
Simple solution would be to ask the user what they want. I genuinely don't understand why this is not common instead of trying to guess it.
by pmlnr 6y ago
Simple solution would be to ask the user what they want. I genuinely don't understand why this is not common instead of trying to guess it.
- Uehreka 6y agoSome websites probably do have settings around this, but that gets to a point someone else mentioned: you would have to basically design, build, test and maintain two UIs. Except now with the kicker that one of those layouts is only used by the 5% of your userbase that both knows that the option is available and chooses to take you up on it.
- csnover 6y agoYou don’t have to ask the user, there is a media rule for querying whether the device is currently using coarse or fine pointer input[0] (though, of course, it relies on the OS not lying, which is not a given). [0] https://developer.mozilla.org/en-US/docs/Web/CSS/@media/pointer https://developer.mozilla.org/en-US/docs/Web/CSS/@media/poin...