Blurry text at certain browser window zoom levels
See original GitHub issueDescription
The Tether
module (used by the datepicker to position its popup calendar) uses CSS transforms to trigger GPU optimizations. Using these CSS transforms would result in blurry texts in certain zoom levels. (See Optimization section @ http://tether.io)
Here’s a pair of screenshots showing the difference (viewing https://hacker0x01.github.io/react-datepicker/ on [13" MBP, macOS Sierra - Chrome version 58 (Window @ 67% Zoom Level)]:

Proposed Solution
Thankfully, the guys at Hubspot implemented a prop for us to disable this.
<TetherComponent
classPrefix={'react-datepicker__tether'}
attachment={this.props.popoverAttachment}
targetAttachment={this.props.popoverTargetAttachment}
targetOffset={this.props.popoverTargetOffset}
renderElementTo={this.props.renderCalendarTo}
constraints={this.props.tetherConstraints}
// *** exposing Tether's `optimizations` prop to the datepicker ***
optimizations={this.props.tetherOptimizations}
>
...
</TetherComponent>
Disabling GPU optimization:
<DatePicker
selected={this.state.startDate}
onChange={this.handleChange}
tetherOptimizations={{ gpu: false }}/>
I’ve made a fix on my end, would love to create a pull request for it! Really liked this library, would be great to get this patched on NPM asap so that we can use it for production =)
Issue Analytics
- State:
- Created 6 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
Blurry text when zooming in with Chrome
So I have this really weird issue on a page. The users need to be able to zoom out to make the text...
Read more >Zoom & Resizing Text - Usability & Web Accessibility
It is also important to avoid providing images of text, as such text cannot be resized through text resizing, and may become blurry...
Read more >Blurry Texts EVERYWHERE! (Especially the browsers)
Sometimes the texts are messed up (some are small and tiny, some are big). ... And below is how it is now at...
Read more >Text becomes blurry in Chrome 33 on Windows 7, while using ...
zoom page to a non-default level, e.g. 125%; go to a pull request, then the Diff tab; scroll vertically with mouse or arrow...
Read more >Page content blurry for some zoom levels if you transform ...
1. Change the zoom level to 0.7 using the input field 2. Notice text become blurry 3. Click on the "click me" button...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Yeah would love to see a PR 👍
Popper.js roundes the offset values to avoid half pixels and prevent text blurring