Checklist
What is the issue/comment/problem?
I noticed that you force the output and errors to be visible once an expression is executed. But there might be times when you don't want this to happen.
For example, I made an app with two outputs shown in different tabs. Depending on where the user is, only one of the outputs should be visible.
I noticed that whenever I ran a python script or the repl, both outputs would show. Hiding them was not possible only with classes given that you force that by setting style="display:block;". After digging a bit into the code, I found that in lines 577, 578, 602, 603, 24033, and 24034 you set the style setting mentioned earlier and remove the hidden attribute from the output and error elements. In my case, the easiest workaround was just to comment out those lines (see image).
But I was wondering if there's any reason why you set style="display: block;? If this behavior isn't intended, it might be better to use the block class of tailwind or nothing at all.
Checklist
What is the issue/comment/problem?
I noticed that you force the output and errors to be visible once an expression is executed. But there might be times when you don't want this to happen.
For example, I made an app with two outputs shown in different tabs. Depending on where the user is, only one of the outputs should be visible.
I noticed that whenever I ran a python script or the repl, both outputs would show. Hiding them was not possible only with classes given that you force that by setting
style="display:block;". After digging a bit into the code, I found that in lines 577, 578, 602, 603, 24033, and 24034 you set the style setting mentioned earlier and remove the hidden attribute from the output and error elements. In my case, the easiest workaround was just to comment out those lines (see image).But I was wondering if there's any reason why you set
style="display: block;? If this behavior isn't intended, it might be better to use theblockclass of tailwind or nothing at all.