Thinkmill / keystatic

First class CMS experience, TypeScript API, Markdown & YAML/JSON based, no DB
https://keystatic.com
MIT License
1.22k stars 80 forks source link

Formatting bar and fields.select no longer working #1304

Open MLorneSmith opened 1 month ago

MLorneSmith commented 1 month ago

Encountering an issue with the select field since the last update. The select input renders, but the array of options does not appear when clicked on.

For me the issue extends to the entire formatting bar in the editor. Nothing works. Without this, keystatic is completely broken for me.

Several comments in Discord.

https://cdn.discordapp.com/attachments/1139018073442103397/1282731794696896535/google_screen_recording_2024-09-09T15-58_02.157Z.webm?ex=66e30f93&is=66e1be13&hm=31846fdc67ddeecd0bdb3a9d3c53938bb8c87b634d215d439b1f73a2f5cafa5a&

emmatown commented 1 month ago

I'm not able to reproduce this, can you provide a GitHub repo with a project where this happens and details on what browser you're using?

zanhk commented 1 month ago

To me even all the button on the navbar stopped working, @emmatown you did not reproduce because you are on mac and on mac works, it stopped working on chrome for windows.

I see these warnings in the console

image

emmatown commented 1 month ago

I've just tried to reproduce this with Chrome (128.0.6613.138) on Windows with projects created with pnpm create @keystatic@latest with Astro and Next with select fields added and still haven't been able to reproduce this

zanhk commented 1 month ago

I will test with a minimal repo to reproduce this problem

zanhk commented 1 month ago

Actually I upgraded all packages and couldn't repro anymore, tried downgrade just keystatic but it kept working, so i don't know which one of the packages was causing the problem, maybe when i will have time i will try to test, meanwhile @MLorneSmith try upgrade all packages and see if it fixes