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
I am using apex charts in my app and on this latest component I am attempting to click a data point and have it open the modal then fetch more detailed data. When the chart data point is clicked it should set the modal to open as well as set a query item for the data fetch. The function run correctly and sets the data. However, once set and the modal attempts to run, the dialog onClose function runs and sets it back to closed. I have swapped the chart for a button to simulate and it all functions as intended. This is the first time running across this issue since using this modal component leveraging the dialog component for about the last 6 months. So my first reaction is that I have overlooked something. Any ideas or fresh eyes would be greatly appreciated before I have to get hacky with this to work along side the chart. See the below link for the reproduced issue.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am using apex charts in my app and on this latest component I am attempting to click a data point and have it open the modal then fetch more detailed data. When the chart data point is clicked it should set the modal to open as well as set a query item for the data fetch. The function run correctly and sets the data. However, once set and the modal attempts to run, the dialog onClose function runs and sets it back to closed. I have swapped the chart for a button to simulate and it all functions as intended. This is the first time running across this issue since using this modal component leveraging the dialog component for about the last 6 months. So my first reaction is that I have overlooked something. Any ideas or fresh eyes would be greatly appreciated before I have to get hacky with this to work along side the chart. See the below link for the reproduced issue.
https://codesandbox.io/s/apex-charts-modal-issue-7m037
Beta Was this translation helpful? Give feedback.
All reactions