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
Is your feature request related to a problem? Please describe.
Currently we see this in Discover 2.0 implementation, where full screen view is hiding under the nav:
Describe the solution you'd like
When user clicks Full screen, only OuiDataGrid catch it. We won’t be able to catch the click in our application in OpenSearch Dashboards. We want a way to listen to or detect when the grid goes into fullscreen mode. Then by detecting full screen mode and have some property like showTopNavMenu to update TopNavMenu config, like
<TopNavMenu
.. other property
config={showTopNavMenu ? topNavMenu : undefined}
/>`
Maybe consider extending or wrapping the OuiDataGrid component to emit custom events or callbacks when the fullscreen state changes.
Is your feature request related to a problem? Please describe.
Currently we see this in Discover 2.0 implementation, where full screen view is hiding under the nav:
Here is the detailed investigation opensearch-project/OpenSearch-Dashboards#4824 (comment)
Describe the solution you'd like
When user clicks Full screen, only
OuiDataGrid
catch it. We won’t be able to catch the click in our application in OpenSearch Dashboards. We want a way to listen to or detect when the grid goes into fullscreen mode. Then by detecting full screen mode and have some property likeshowTopNavMenu
to update TopNavMenu config, likeMaybe consider extending or wrapping the OuiDataGrid component to emit custom events or callbacks when the fullscreen state changes.
Describe alternatives you've considered
We have tried several options but that ideal. Pls see the detailed investigation opensearch-project/OpenSearch-Dashboards#4824 (comment)
The text was updated successfully, but these errors were encountered: