Scrolling up through a long chat in Firefox kept throwing the view back down while older messages loaded, sometimes by several screens. Firefox does not hold the view in place when messages above it settle to their real height, so it now shows them at full height from the start. When two loads fired back to back it also shifted the view a second time on top of the app's own adjustment, so in every browser the adjustment now follows where the first message sits instead of how much the page grew. Measured on a 150 message chat, scrolling up in 100 px steps: Firefox went from 74 steps where the content jumped (largest jump 1197 px) to 8 steps (largest 123 px); Chromium stays at 3 steps and 101 px.
Fixes#33994
With tool permissions set to Ask for approval, a tool call in a side chat stopped to wait for approval, but the side chat showed no Allow or Deny, so the reply never got past preparing the tool call. A tool call waiting for approval in a side chat now shows the same Allow and Deny buttons as in the main chat, and the reply continues once you answer.
Fixes#33873
Chat messages are virtualized with content-visibility: auto, which WebKit paints incorrectly and can leave blank. #26805 skipped that on Safari by looking for the Safari token in the user agent, but iOS in-app browsers, home screen apps and iPadOS desktop-class standalone windows send no such token, so those users still get empty assistant responses.
Check the navigator vendor string as well, which every WebKit surface reports regardless of user agent. The user agent check stays, because non-Apple WebKit ports can compile a different vendor string while shipping the same paint bug.
That earlier fix also withheld the message-listitem class entirely, and the class doubles as the styling hook the sidebar hover preview reaches through, so hover previews have rendered at full chat spacing and width on Safari since v0.11.0. Only the content-visibility rule is gated now, on its own class, and the hook stays on every message. Safari hover previews become compact like every other engine.
Verified across fourteen engine cases: virtualization is off on every Apple WebKit surface, unchanged on Chromium, Firefox and Android, the hover preview overrides apply again on Safari, and the screenshot export still captures every message on both.
Refs #26712, #29688
Since v0.10.0 chat messages are virtualized with content-visibility: auto to skip rendering of off-screen messages. Safari's implementation of content-visibility has known paint bugs (WebKit bugs 277573, 281570 and 283846) that can leave the contents of a message unpainted even when it is on screen. On iOS this makes assistant responses render as empty, both in Safari and as a PWA, while the same chats render fine in Chromium and Firefox. This matches the regression window reported in #26712, which appeared when upgrading from 0.9.6 to 0.10.2.
Detect Safari (including all iOS browsers, which use WebKit) with the same user agent check already used in MessageInput and ShareChatModal, and skip the virtualization class there. Safari falls back to rendering all messages like before v0.10.0, while other engines keep the optimization. Verified with a spoofed Safari user agent that messages render without the virtualization class and with content-visibility resolving to visible, while Chromium keeps content-visibility: auto.
Fixes#26712