Updating to Sanity 3.46.1 resolves text styling crash issue

3 replies
Last updated: Jun 13, 2024
Hi,
I've been evaluating Sanity and playing around with blog schema. Looks like that after applying styles to a text (think
h1-h6
tags etc) a document crushes in Sanity Studio. getting this error:

Error: Cannot read properties of null (reading 'scrollTop')
TypeError: Cannot read properties of null (reading 'scrollTop')
    at ibn (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2291>)
    at obn (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2473>)
    at <https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2582>
    at Array.map (<anonymous>)
    at abn (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2552>)
    at <https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2703>
    at Object.s8e [as useMemo] (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:57:21479>)
    at Yn.useMemo (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:9:6286>)
    at sbn (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:2431:2681>)
    at LK (<https://simpleimmi.sanity.studio/static/sanity-8845183b.js:57:17070>)
Jun 13, 2024, 10:51 PM
πŸ‘‹ Are you on the latest version?
Jun 13, 2024, 11:00 PM
Ha! Thanks, it helped! I installed the latest version yesterday morning but I hit 3.45.0. 3.46.1 works great.
Jun 13, 2024, 11:14 PM
Excellent!
Jun 13, 2024, 11:14 PM

Sanity– build remarkable experiences at scale

Sanity is a modern headless CMS that treats content as data to power your digital business. Free to get started, and pay-as-you-go on all plans.

Was this answer helpful?