I'm currently developing a project in three.js using the CSSRenderer and the challenge I'm facing is ensuring that it displays correctly even when the browser zoom is not set at 100%. So far, it appears that:
- There isn't a way to forcibly set the browser zoom back to 100%
- There isn't a method to detect the current browser zoom level (based on info from https://github.com/tombigel/detect-zoom)
I thought about possibly detecting the zoom level and applying a CSS zoom in the opposite direction to compensate, similar to what was suggested in Vijey's post found here: Changing the browser zoom level
Given this, it seems challenging to properly display the three.js scene when the browser zoom is anything other than 100%. I even struggled to display a warning message to users advising them that the application may not function correctly at different zoom levels in the browser. Can anybody offer a solution to this issue? Is there ongoing work to address this problem?