-
Notifications
You must be signed in to change notification settings - Fork 78
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
Datagrid: Hover styles cut off in list style datagrid #4963
Comments
Was looking into this issue to solve, but not quite sure what a hover option element should look like. Is it that the hover is cutting off functionality or the look of something? @arturchilangwa-infor for the second gif, I think you may be referring to the small square artifact on the row status? this one might have been fixed in PR #4918. Apologies if this stuff should be obvious; am a bit inexperienced with this library's typical functionality. |
Sorry @rob2d i thought this was a bit more fleshed out. But here is how to reproduce it
And i think you fixed the part about the rowStatus already on #4918 |
Fingers crossed but looks like am finally in home stretch with other 2 PRs, so migrating to this now. |
@tmcconechy just want to double-check that we should be making this like other grids visually. It seems for some reason or other, on the "list" grids, the hover color not being there was by-design. See for ref: I may be missing issue though entirely? |
Yes the list style grid has a "flat" design its for simpler in page lists / no editable. https://master-enterprise.demo.design.infor.com/components/datagrid/example-index.html So basically:
|
@tmcconechy Thanks for clarification. Just based off chat for follow-up but
For this point, we sort of had no choice since the list action button loses it's focusable state completely. I think UI wise, this may look alright? was a simple change once I found out where the styles were. (and now checking if #4918 helped with the first point with row status icon) |
@tmcconechy On the other point, this does not appear unclean anymore. Should the row status indicator be omitted completely? seems may be important but I am not familiar with client use-cases quite yet. |
i think the border should be all around it all the time even during hover. looks a bit wierd that its only on some sides. But that could be considered out of scope unless its simple? or something we fix in the new comps |
For the hover state question maybe it could just be on the icon part (like the ... in other places) or like the buttons here https://master-enterprise.demo.design.infor.com/components/datagrid/example-list.html |
@tmcconechy for the border, did notice that also but wasn't sure if there was other UI components we were matching hence didn't bring it up. Am looking into #4341 which should be theoretically simple but will check that out shortly as PR failed anyway. |
@tmcconechy currently that's the behavior actually (not sure if this is why closed). I think @arturchilangwa-infor does have a point that it looks a little bit weird floating but it is at least consistent/seemed like in the code was intentional. |
working as expected. moving this to Done |
Description
Hoover option element in a SohoDataGrid is cut off.
To Reproduce Steps to reproduce the behavior:
Expected behavior
Hoover should not be cut off.
Version
Screenshots
![hoover](https://user-images.githubusercontent.com/80833325/111486081-7624b400-8737-11eb-8245-e452c8114dc0.png)
Platform
The text was updated successfully, but these errors were encountered: