microsoft / BotFramework-WebChat

A highly-customizable web-based client for Azure Bot Services.
https://www.botframework.com/
MIT License
1.59k stars 1.53k forks source link

Fluent: increase send box text size to prevent unwanted zoom on mobile #5192

Closed OEvgeny closed 4 months ago

OEvgeny commented 4 months ago

Fixes #5169.

Changelog Entry

Description

Increase the default font size only when focused and only when both: hover is not supported and coarse pointer conditions apply.

Design

We may want to remove hover: none part to target any device with coarse pointer, but usually hover support means that there might be other ways to hover which include more precise navigation.

Specific Changes

Review Checklist

This section is for contributors to review your work.

compulim commented 4 months ago

Is there any other ways than changing font size...?

OEvgeny commented 4 months ago

Is there any other ways than changing font size...?

Our users can opt-out from pinch to zoom to prevent the zoom-in action. But overall 16px min font-size on controls is a platform requirement.

compulim commented 4 months ago

Need changelog and this is good. 🙂