Comments (6)
Root cause
In Vaadin Grid, by default v-grid-row-focused
class is added to the first tr
. It seems that in the current design, one exact tr
must have this class.
This conflicts with the current CSS
:focus .v-grid-row-focused {
...
}
Since the class v-grid-row-focused
is always present, extra unneeded animation happens.
Proposed solutions
- Update our CSS rules and probably not use
:focus
. - If it's a bug against Vaadin Grid design, remove the class
v-grid-row-focused
when it's not needed.
_Note_ v-grid-row-focused
is completely different than v-grid-row-selected
.
from vaadin-grid.
I’ve noticed this also, but haven’t considered it a priority yet. If possible, I would definitely opt for removing the v-grid-row-focused
classname from all the rows when the grid if blurred/unfocused.
If we do that, we can also stop using :focus
at the same time.
from vaadin-grid.
Working on a fix now for the main Vaadin Grid code. This should fix many issues in v-grid.
from vaadin-grid.
https://dev.vaadin.com/ticket/18521
from vaadin-grid.
Thanks to @Artur-, this issue is progressing 👍
from vaadin-grid.
Probably not worth fixing any more. Closing as “won’t fix”.
from vaadin-grid.
Related Issues (20)
- TypeScript generics to allow declaring GridItem type HOT 1
- vaadin grid current row highlight issue HOT 1
- TreeGrid regression since 14.4.3 HOT 9
- Ellipses in selection column HOT 4
- 18.0.3 breaks grid in grid details HOT 1
- setItemDetailsRenderer in Vaadin 14.4.5 produce (TypeError) : $0.$connector HOT 1
- Clearing grid filtering is not working HOT 2
- Scrolling in a grid on iOS (Safari, Chrome) impossible HOT 6
- Grid.getDataProvider().refreshAll() length must not be negative HOT 1
- Grid with item details opened- after item deleting and grid refreshing attribute 'details-opened' stays in a row
- Client-side exception thrown when hiding column, add item, and refresh data provider HOT 4
- Grid: AppendFooterRow produces an Error when appending more than 8 FooterRows HOT 1
- TreeGrid regression regarding garbled scrolling output HOT 3
- Vaadin-grid horizontal scroll issue in iOS 14 HOT 15
- Getter for grid's selection mode HOT 2
- Sorting indicators are not preserved when column order is changed using Grid#setColumnOrder
- Grid throws UnsupportedOperationException if buffered editor is open during PreserveOnRefresh HOT 4
- Grid column width is calculated wrong on Safari 14.0.3 (Big Sur) HOT 6
- GridPro "out of memory" on Firefox facing 1k Strings HOT 3
- TypeError: Cannot read properties of undefined (reading '_content') in Chrome Browser HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vaadin-grid.