Skip to content

Visualize data table: Summary row is detached and jumps in Firefox#97083

Merged
VladLasitsa merged 6 commits intoelastic:masterfrom
VladLasitsa:92816
Apr 20, 2021
Merged

Visualize data table: Summary row is detached and jumps in Firefox#97083
VladLasitsa merged 6 commits intoelastic:masterfrom
VladLasitsa:92816

Conversation

@VladLasitsa
Copy link
Copy Markdown
Contributor

Closes: #92816

Summary

Use display: flex for footer in table instead inline-flex. It fix jumping in FIrefox.

@ryankeairns
Copy link
Copy Markdown
Contributor

Hey @VladLasitsa , thanks for the PR. Once you're ready for a review, please click the 'Ready for review' button and move this out of Draft.

@VladLasitsa VladLasitsa self-assigned this Apr 16, 2021
@VladLasitsa VladLasitsa added Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v8.0.0 release_note:fix v7.13.0 labels Apr 16, 2021
@VladLasitsa VladLasitsa marked this pull request as ready for review April 16, 2021 08:19
@VladLasitsa VladLasitsa requested a review from a team as a code owner April 16, 2021 08:19
@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@VladLasitsa
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@ryankeairns
Copy link
Copy Markdown
Contributor

I'm now on FF v87 and can neither re-create the prior issue nor confirm the fix. Perhaps others have an older version. Also, depending on how this turns out, this may become a fix on the EUI side.

@VladLasitsa
Copy link
Copy Markdown
Contributor Author

@elasticmachine merge upstream

@stratoula
Copy link
Copy Markdown
Contributor

@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@stratoula stratoula left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryankeairns I am on FF v87 and I can confirm that the bug is still valid. This PR definitely fixes it so I approve it but as I remember that @kertal has also identified a problem with FF and Discover table, maybe it would be better to fix it on Eui side (?) Whatever you want!

Copy link
Copy Markdown
Contributor

@ryankeairns ryankeairns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@VladLasitsa please add one additional comment, then this can merged. Thank you!


// Sticky footer doesn't correct work with inline-flex in Firefox.
// As footer the last element I don't see any reason to use inline-flex for this element.
// Display: flex fixes jumping on hover in Firefox.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment with a link to this related EUI issue - elastic/eui#4729

Once addressed, we can remove this local fix

Copy link
Copy Markdown
Member

@kertal kertal Apr 19, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryankeairns @chandlerprall FYI setting

.euiDataGridHeader
{
 display: flex;
}

also resolves Discover's header position problem in Firefox, just tried it out, works

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ryankeairns, added comment.

@kertal
Copy link
Copy Markdown
Member

kertal commented Apr 19, 2021

@ryankeairns I am on FF v87 and I can confirm that the bug is still valid. This PR definitely fixes it so I approve it but as I remember that @kertal has also identified a problem with FF and Discover table, maybe it would be better to fix it on Eui side (?) Whatever you want!

@stratoula thx for the ping @stratoula , tried a similar solution like in this PR @VladLasitsa , and it would also work in Discover, great finding Vlad!

@ryankeairns ryankeairns self-requested a review April 19, 2021 17:38
@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
visTypeTable 102.1KB 102.4KB +276.0B

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @VladLasitsa

@timroes
Copy link
Copy Markdown
Contributor

timroes commented Apr 19, 2021

@elasticmachine run elasticsearch-ci/docs

@VladLasitsa VladLasitsa merged commit 0aa31ad into elastic:master Apr 20, 2021
VladLasitsa added a commit to VladLasitsa/kibana that referenced this pull request Apr 20, 2021
…lastic#97083)

* Use display: flex for footer in table

* Update table_visualization.scss

* Update table_visualization.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
VladLasitsa added a commit that referenced this pull request Apr 20, 2021
…97083) (#97590)

* Use display: flex for footer in table

* Update table_visualization.scss

* Update table_visualization.scss

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
@timroes timroes added the Feature:Data Table Data table visualization feature label Apr 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Feature:Data Table Data table visualization feature release_note:fix Team:Visualizations Team label for Lens, elastic-charts, Graph, legacy editors (TSVB, Visualize, Timelion) t// v7.13.0 v8.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Visualize data table: Summary row is detached and jumps in Firefox

7 participants