AFFiNE icon indicating copy to clipboard operation
AFFiNE copied to clipboard

z-index bug: when open a deleted page, button's tooltip was wrong

Open hwangdev97 opened this issue 1 year ago • 5 comments

What happened?

shot-2023-10-25-10 48 50@2x

Distribution version

macOS x64 (Intel)

What browsers are you seeing the problem on if you're using web version?

No response

Relevant log output

No response

Anything else?

No response

Are you willing to submit a PR?

  • [ ] Yes I'd like to help by submitting a PR!

hwangdev97 avatar Oct 25 '23 02:10 hwangdev97

cc @JimmFly

hwangdev97 avatar Oct 25 '23 02:10 hwangdev97

Hey @hwangdev97 I want to work on this, can you please assign it to me?

sandy088 avatar Dec 05 '23 14:12 sandy088

Should be fixed by https://github.com/toeverything/AFFiNE/pull/5169 already

pengx17 avatar Dec 06 '23 05:12 pengx17

Should be fixed by #5169 already

Hey @pengx17 @hwangdev97 ,

Ok, that's good, but @pengx17 kindly please can you tell me how this issue is being resolved, because I've been trying to fix the issue with the tooltip and z-index on the trash page. I've experimented with z-index on , tooltip, trash-page-button-groups, and help-island (possibly everywhere from where the Delete button's tooltip can affected), but it doesn't seem to be the problem, Z-index property is not working on all these places. It could be related to how the elements are placed, possibly due to nested stacking contexts.

I have a potential solution in mind: moving the tooltip to the left side of both the delete and restore buttons, as shown in the image. What do you think? Should I go ahead and make a pull request for this?

Screenshot 2023-12-06 203947 Screenshot 2023-12-06 204002

Let me know your thoughts...

sandy088 avatar Dec 06 '23 15:12 sandy088

Should be fixed by #5169 already

Hey @pengx17 @hwangdev97

Still this issue is not fixed in #5169 can so, can I make a pull request with the above fixes that I have done?

sandy088 avatar Dec 08 '23 04:12 sandy088

Issue Status: ✅ Done

✅ Done

If the issue was a bug, it’s been fixed; if it was a missing feature, it’s been implemented.

This is an automatic reply by the bot.

affine-issue-bot[bot] avatar Mar 09 '24 10:03 affine-issue-bot[bot]