I noticed that when I define my own open and close functions for the Collapse objects, when the state of the sections is loaded from local storage via setting persist = true, the functions that I defined do not get called when restoring state (i.e. the Section's close and open methods are called instead of the Collapse's). I would have expected my functions to get called. I ended up writing a quick workaround because I rely on these functions getting called in order to style things appropriately... what do you think about making this the default behavior?
I noticed that when I define my own
open
andclose
functions for the Collapse objects, when the state of the sections is loaded from local storage via settingpersist = true
, the functions that I defined do not get called when restoring state (i.e. the Section'sclose
andopen
methods are called instead of the Collapse's). I would have expected my functions to get called. I ended up writing a quick workaround because I rely on these functions getting called in order to style things appropriately... what do you think about making this the default behavior?