setAutoClose does not work on 'normal' toolbox?

47 views
Skip to first unread message

Seb Seb

unread,
Aug 13, 2025, 2:55:46 PMAug 13
to Blockly
Hello,
while working on continuous toolbox, I discovered that the setAutoClose() method does seem to work on classical toolbox, or in a weird way....
I tried implementing a toggle to choose if toolbox is autoclose or not, and on continuous toolbox it works fine, but with normal one here's my test:
  • I get flyout and declare it autoclose false, also setvisible true ;
  • when drag'n'drop from fisrt category (logic) it stays open ;
  • if I change category it closes and add automatic close behavior.
Is it a bug or something I did wrong?
Many thanks for helping.

Aaron Dodson

unread,
Aug 13, 2025, 5:09:49 PMAug 13
to Blockly
This is indeed a bug; it should have been resolved by https://github.com/google/blockly/pull/9245, but that change has not yet been released. We expect to have a release in the next few weeks that should include it though!

- Aaron

Seb Seb

unread,
Aug 13, 2025, 5:32:20 PMAug 13
to Blockly
Great! Thanks a lot.

Aaron Dodson

unread,
Aug 21, 2025, 5:27:59 PMAug 21
to Blockly
This should now be available in 12.3.0-beta.0
Reply all
Reply to author
Forward
0 new messages