-
-
Notifications
You must be signed in to change notification settings - Fork 338
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
fix: possible fix for the cell losing focus when clicking on the border #4080
fix: possible fix for the cell losing focus when clicking on the border #4080
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here's what I'm seeing in Chrome and Firefox:
- Cell content is displaying right next to the cell border. This is a regression.
- I don't see any outline to indicate the active cell. That's also a regression.
Since this doesn't seem ready to merge on first glance, I haven't spent time looking at the code.
Thank you for the review. I'll make sure to check to check in other browsers as well the next time. @seancolsen could you list out the browsers that I need to check with for each UI change please? Thanks! |
Generally just only one browser, so long as it's a relatively recent one. We very rarely run into browser-specific issues, so I don't think it's worth the time to check multiple browsers regularly. I mentioned two in my comment above because I was surprised and confused at the possibility that I might be seeing something different from what you're seeing. If that does end up being the case, we can continue troubleshooting to figure out why. |
…esar into fix/cell-loses-focus
Sure Sean, I get you. I guess I'll check cross browser issues for this issue, since I saw an issue live in your dev in firefox and chromium. I'll let you know if I get to know anything or make push it so you can take a look on it. |
@seancolsen I'd be curious for you to test this again. I'm seeing the correct behavior in Chrome This appears to fix the documented bug, and also has a nice benefit of fixing an older behavior where table headers covered the cell focus: |
@zackkrida: So do you think I dont have to check potential issues which Sean faced Zack? |
@sharath-1517 based on the code changes, which only change from using box-shadow to an offset outline for the cell border, I believe @seancolsen may have been facing a different issue or configuration problem. It's not clear to me how the code here would produce the result in his screenshot. I'd like to have Sean take another look before you check potential issues. Thanks! |
Got it, thanks! |
Thanks @zackkrida. I tried again. Yeah, something must have been messed up when I first viewed this. I tried again, and here's what I'm seeing: This seems consistent with the screenshots in the PR description, so I'll continue my review from here... This is still not okay because it modifies the visual design of the active cell indicator. I have exactly the same feedback here as the feedback I left on a previous PR attempting to tackle this same issue. The indicator needs to extend outside the active cell. Consider some sort of |
Hey Sean yes of course I read the previous PR conversation just right after I created this PR. I will make sure to make some research on it and fix it up if that's alright? Also could you assign me this issue? Thanks! |
@seancolsen seems like you've already assigned me, please kindly ignore that question from previous comment. Thanks for your patience. |
I am closing this PR since I couldn't find any leads on this issue. If I get to know anything that could be used to fix this issue I'll create a new PR. |
Fixes #2987
Technical details
[data-active-cell]
element.Screenshots
Checklist
Update index.md
).develop
branch of the repositoryvisible errors.
Developer Certificate of Origin
Developer Certificate of Origin