Users are reporting that Google Maps onebox embedding is broken in version 1.8.0.beta8 across browsers like Firefox and Chrome. The issue is caused by a transparent <div> overlaying the map iframe, which prevents interaction. niemeyer identified that removing this div resolves the issue, while eviltrout confirmed the behavior with a test link. niemeyer offered a temporary CSS workaround by setting the z-index of the map container to -1. The root cause was identified by techAPJ as a recent security update that sanitizes HTML and removes the onClick event handlers used to disable pointer events on the overlay. techAPJ has already implemented a fix in the onebox gem by removing the problematic div, with future plans to restore it in a way that does not interfere with page scrolling.
This issue was because we recently pushed a security change in which we sanitized the onebox output HTML. Previously that transparent div used to have onClick="style.pointerEvents='none'" attribute but now it’s getting removed by sanitize gem. It seems like sanitize gem does not support whitelisting of onClick attribute.
For the time being I fixed this issue by removing the transparent <div> on top of iframe.
I will see if we can workaround this to add the transparent div back so that Google Maps onebox does not interfere with page scrolling.