Skip to content
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 Notifications blocking items not visually under them from being interacted with #915

Merged
merged 2 commits into from
Sep 21, 2020

Conversation

Nokel81
Copy link
Collaborator

@Nokel81 Nokel81 commented Sep 17, 2020

fixes #847

Signed-off-by: Sebastian Malton sebastian@malton.name

@Nokel81 Nokel81 added bug Something isn't working area/ui labels Sep 17, 2020
@Nokel81 Nokel81 requested a review from a team September 17, 2020 18:25
@Nokel81 Nokel81 self-assigned this Sep 17, 2020
Copy link
Contributor

@jim-docker jim-docker left a comment

Choose a reason for hiding this comment

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

tested on macos. Integration test is failing

@nevalla nevalla added this to the 3.6.3 milestone Sep 18, 2020
@nevalla
Copy link
Contributor

nevalla commented Sep 18, 2020

I think the integration test failure is a real issue. This is what I see when running those manually.
image

@nevalla nevalla modified the milestones: 3.6.3, 3.6.4 Sep 18, 2020
…nteracted with

Signed-off-by: Sebastian Malton <sebastian@malton.name>
Signed-off-by: Sebastian Malton <sebastian@malton.name>
@Nokel81 Nokel81 force-pushed the fix-notifications-blocking-buttons branch from 06b2417 to fb35575 Compare September 18, 2020 17:48
@Nokel81
Copy link
Collaborator Author

Nokel81 commented Sep 18, 2020

This is really weird. It seems like the follow css was the "reason" why the tests were failing:

#app {
  > * {
    height: inherit;
  }
}

Namely, once I put it back they started to pass locally.

@@ -3,10 +3,11 @@

position: absolute;
right: 0;
bottom: 0;
top: 0;
Copy link
Contributor

@0x7aF777 0x7aF777 Sep 19, 2020

Choose a reason for hiding this comment

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

It would be nice to consider keeping bottom: high-above-button to locate the notification message box at the bottom-right corner. Which is a walk round of solving issue #842 as well. In that issue, the draggable-top div is outside the iframe which contains the notification box that make it difficult to find an ideal solution to have both text selection and drag features at the same time.
It is quite common to have notification on the bottom right as well.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Notifications currently list top to bottom, so that placement wouldn't help much. I played around with not using padding (and trying to use margin instead) so that the visually empty space around the notifications can be clicked through. #842 needs other work not just this so I don't think that its work should bleed into this PR.

@Nokel81 Nokel81 merged commit 9a10db8 into lensapp:master Sep 21, 2020
@nevalla nevalla modified the milestones: 3.6.4, 3.6.5 Sep 21, 2020
This was referenced Sep 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ui bug Something isn't working
Projects
None yet
4 participants