Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[BUG] Data/Visual/SelectionBoxOpen variables not captured correctly #701

@csoneson

Description

@csoneson

I have the feeling that the JavaScript code for the collapsible parameter boxes is not correctly sending the state (open/closed) to Shiny, but unfortunately my JavaScript knowledge is not good enough to fully understand or fix the problem.

To reproduce, open any app, e.g.

iSEE(scuttle::mockSCE(), initial = list(FeatureAssayPlot()))

When checking the panel settings, I correctly see DataBoxOpen = FALSE. However, even after clicking to open the data parameter box, the panel settings still report DataBoxOpen = FALSE. Starting the app with an open data parameters box works fine (but again the panel settings don't change if I close it).

In the JavaScript console in my browser, I get errors of the following type (and a new error is added every time I attempt to open or close a collapsible box):

Error: Unexpected input value mode: '[object Object]'
    at Oi (inputValidateDecorator.ts:16:13)
    at Ot.setInput (inputValidateDecorator.ts:37:21)
    at Co (bind.ts:45:12)
    at HTMLDivElement.<anonymous> (bind.ts:290:11)
    at HTMLDivElement.dispatch (jquery.js:5145:27)
    at HTMLDivElement.<anonymous> (jquery.js:4949:28)
    at Object.trigger (jquery.js:8629:12)
    at HTMLDivElement.<anonymous> (jquery.js:8707:17)
    at ce.each (jquery.js:383:19)
    at ce.each (jquery.js:205:17)

This is with iSEE v2.21.1.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions