Cells with "Hide code" enabled hides as soon as "Open cell actions" is clicked
Describe the bug
If I have a cell code with "Hide code" enabled, it is hidden as soon as I click "Open cell actions". When my goal is to click e.g. "Format cell" this is confusing.
https://github.com/user-attachments/assets/f4132648-86c1-49aa-aa0d-63843c516d02
(Let me know if you would prefer these tiny bug reports somewhere else/not at all)
Environment
{ "marimo": "0.9.6", "OS": "Darwin", "OS Version": "22.3.0", "Processor": "arm", "Python Version": "3.12.6", "Binaries": { "Browser": "129.0.6668.91", "Node": "v22.9.0" }, "Dependencies": { "click": "8.1.7", "importlib-resources": "missing", "jedi": "0.19.1", "markdown": "3.7", "pygments": "2.18.0", "pymdown-extensions": "10.10.1", "ruff": "0.6.7", "starlette": "0.39.0", "tomlkit": "0.13.2", "typing-extensions": "4.12.2", "uvicorn": "0.30.6", "websockets": "12.0" }, "Optional Dependencies": {} }
Code to reproduce
No response
This one is a bit trickier than the others that were fixed - I'm not sure a good way to solve this.
(Let me know if you would prefer these tiny bug reports somewhere else/not at all)
These tiny bug reports are great, and this is the perfect place for them. Thank you for taking the time to report them!