はじめに ChromeやEdgeのバージョンが128に更新された時、 縦スクロール固定、横スクロールは動的に動かしている要素の位置がずれた。 状況 cssのzoomプロパティが適用されたdiv要素の子要素に対して、 縦スクロールはposition:fixedで固定されるけど 横移動した時に位置を動的に動かすために jQueryのoffset().leftで絶対位置を取得してスクロールしたpxと引き算して動かすということをしていた。 jQueryのバージョンはv1.12.4とかなり古い... 原因 Chromeのバージョンが127から128に変わった時に、 cssのzoomが標準化されて、それに合わせてjavascriptのAPIが色々変更されたらしい。 リリースノート API影響 iframe コンテンツ ドキュメントに適用するズームを変更する 継承されたすべての長さのプロパティに適用され