Hi everyone, I have a problem with a plugin developed in ReactJS.
This problem occurs on Kibana versions Legacy 7.6.2
, Legacy 7.7.x
, Legacy 7.8.x
and does NOT occur on New Platform 7.9.0
.
The problem concerns only the visualize "Data table", the others do not have this problem. It must be said that Data table is the only one that bootstraps Angular locally.
The problem is that if a visualize is embedded with the mechanisms proposed here https://github.com/elastic/kibana/pull/46910, but the same is true using EmbeddablePanel
, it happens that by writing for example
<EuiButtonEmpty
className = "editorButton"
iconType = "arrowleft"
onClick = {() => history.push('/ workspaces')}
>
the click triggers a render of the visualize data table and consequently the page is reloaded. On the other hand, I would like the click not to trigger this rendering, since I'm changing the page.
If I have been unclear please let me know, thanks in advance.