You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(The usecase is that the accordion items were being added dynamically so it starts out empty with just a placeholder element)
Since that commit, accordions are broken.
Error in `*tmp*`[[1]] : subscript out of bounds
Looking at the code, it's because there are many assumptions being made about the internal structure of the object being passed to accordion().
I realize the documentation says that these parameters should be accordionItems() but I still wanted to bring this to your attention. Maybe there are others who also use accordions in a similar fashion and are also going to have errors when they update, and perhaps it's not too difficult to make it backwards compatible.
If you feel this doesn't need fixing, feel free to close the issue.
The text was updated successfully, but these errors were encountered:
Prior to f50d8c8 the following code was fine:
(The usecase is that the accordion items were being added dynamically so it starts out empty with just a placeholder element)
Since that commit, accordions are broken.
Looking at the code, it's because there are many assumptions being made about the internal structure of the object being passed to
accordion()
.I realize the documentation says that these parameters should be
accordionItems()
but I still wanted to bring this to your attention. Maybe there are others who also use accordions in a similar fashion and are also going to have errors when they update, and perhaps it's not too difficult to make it backwards compatible.If you feel this doesn't need fixing, feel free to close the issue.
The text was updated successfully, but these errors were encountered: