swagger-editor icon indicating copy to clipboard operation
swagger-editor copied to clipboard

Code folding lost on key press

Open manoadamro opened this issue 8 years ago โ€ข 5 comments

Q A
Bug or feature request? Bug
Which Swagger/OpenAPI version? 2.0
Which broswer & version? Chrome 63.0.3239.132
Which operating system? OSX

When code is folded, it will unfold on any key press rendering it mostly useless.

Expected Behavior

All code folding to remain intact while typing

Current Behaviour

All code (across whole script) unfolds when any character is entered in to the editor.

Context

For large specs, code folding would be really useful.

manoadamro avatar Jan 31 '18 14:01 manoadamro

This happens to me as well. It only happens when you edit too close to the folded code, like right above or below it. I also find it annoying and would love it to be fixed.

jennaprice avatar Feb 02 '18 18:02 jennaprice

The same here.. :(

RicardPG-Vintra avatar Mar 15 '18 10:03 RicardPG-Vintra

hi @manoadamro, why was this closed? did you observe a change in behavior?

shockey avatar Jan 05 '19 03:01 shockey

probably a mistake, sorry ๐Ÿ˜

manoadamro avatar Apr 29 '19 13:04 manoadamro

Weโ€™ve released Swagger Editor v5! ๐ŸŽ‰ Check out the details here: Inside the New Swagger Editor. Weโ€™re closing old issues related to previous versions. If you think any of them are still relevant, please open a new issue โ€“ this helps us prioritize what matters most. Thanks for your activity! ๐Ÿš€

MichakrawSB avatar Dec 05 '25 13:12 MichakrawSB