-
Notifications
You must be signed in to change notification settings - Fork 912
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Data Explorer][Discover 2.0] Full screen view is hiding under the nav #4824
Comments
IssueAfter investigation, I think this is due to no easy way to listen to or detect when the data grid goes into fullscreen mode. In
Then the
Then
and Therefore, when user clicks
OptionsOption 1 use DOM Mutation ObserversUse a
But this method is not working. Full screen won't trigger re-render even though wrapper changed, therefore
useEffect can't capture the updates.
Check Viewport Dimensions:Check the dimensions change to see if it matches those of the full screen. This isn't an ideal solution since other factors might cause the window to resize to the screen dimensions. Extend OuiDataGridSince we have flexibility with the codebase, extending or wrapping the OuiDataGrid component to emit custom events or callbacks when the fullscreen state changes might be an ideal solution but this needs more investigation and design. ConclusionIdeally we want a way to listen to or detect when the grid goes into fullscreen mode. which might need In Discover 2.0, we will just disable |
…ight * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com>
…ight * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com>
…ight * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com>
…ight * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com>
…ight * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com>
…ight (opensearch-project#4838) * disable full screen mode * customize hide column to delete column * add move left and move right Issue Resolve: opensearch-project#4822 opensearch-project#4823 opensearch-project#4824 Signed-off-by: ananzh <ananzh@amazon.com> (cherry picked from commit 2738131)
Will come back once OUI solve the issue. |
The text was updated successfully, but these errors were encountered: