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
There are a few issues that I'm encountering in the implementation of this.
Firstly the menuItem objects in the sidebarMenu don't have IDs associated with them to be able to call from JavaScript to identify whether one of them has been clicked. The same issues exist for the tabPanel not having IDs either.
The menuItem looks to have been addressed in item #128 although it would be great if it included some code to address the tabPanel too.
Further to this I have noticed that when I have a select widget in the sidebar (called 'my_input') for some reason a JavaScript function that looks like the below code will be called twice.
I believe this is to do with the way the HTML code gets built and for some reason it appears that after the select a div gets created that is created to reflect the value that was selected from the drop down widget.
Thoughts on how to ensure only one execution of the JavaScript above occurs would be great, and consideration to pull request #128 would be greatly appreciated.
The text was updated successfully, but these errors were encountered:
I am currently attempting to implement Google Analytics tracking within a shinydashboard created app.
I am basing my implementation on this guide (http://shiny.rstudio.com/articles/google-analytics.html)
There are a few issues that I'm encountering in the implementation of this.
Firstly the
menuItem
objects in thesidebarMenu
don't have IDs associated with them to be able to call from JavaScript to identify whether one of them has been clicked. The same issues exist for thetabPanel
not having IDs either.The
menuItem
looks to have been addressed in item #128 although it would be great if it included some code to address thetabPanel
too.Further to this I have noticed that when I have a
select
widget in the sidebar (called 'my_input') for some reason a JavaScript function that looks like the below code will be called twice.I believe this is to do with the way the HTML code gets built and for some reason it appears that after the
select
adiv
gets created that is created to reflect the value that was selected from the drop down widget.Thoughts on how to ensure only one execution of the JavaScript above occurs would be great, and consideration to pull request #128 would be greatly appreciated.
The text was updated successfully, but these errors were encountered: