Sluggish behavior in custom input type #3390
Unanswered
tinykite
asked this question in
Sanity Studio Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm currently working with an input type that allows an author to upload multiple images for embedded image grids within the
blockContent
of a blog post:Adding this as a fieldtype to the
BlockContent
schema file seemed to work, but I noticed that — while working locally — the Studio UI seems to get very sluggish (a few seconds delay inbetween keystrokes) when editing thealt text
field for an image, for example:What seems to coincide with this is that the post appears to also save on every keystroke, rather than after hitting a "done" button. Confusingly, the performance is additionally much better in the main
blockContent
for the post.Is there anything I can do to further debug this behavior, or improve the performance of Studio?
Somewhat tangentially, I noticed that on its own the
image
input type does not appear to allow authors to specify alt text for an image. Am I understanding that correctly?Beta Was this translation helpful? Give feedback.
All reactions