-
Notifications
You must be signed in to change notification settings - Fork 1
[PER-10316] Create account sticky footer disappears #814
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
[PER-10316] Create account sticky footer disappears #814
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #814 +/- ##
==========================================
- Coverage 47.05% 47.03% -0.03%
==========================================
Files 372 372
Lines 11494 11492 -2
Branches 1907 1907
==========================================
- Hits 5409 5405 -4
- Misses 5897 5898 +1
- Partials 188 189 +1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
cecilia-donnelly
left a comment
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.
Thank you @aasandei-vsp !
omnignorant
left a comment
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.
I think this is working as expected. However, the sticky footer does not appear on initial page load. It takes a few seconds and it seems scrolling the page after clicking out of the modal for it to appear. Other than the delay in footer loading, it seems to work! see screen recording.
Screen.Recording.2025-11-19.at.2.20.45.AM.mov
dfc19ba to
4e98005
Compare
|
Thank you, @omnignorant This was very good feedback. Two important notes from this:
@cecilia-donnelly @slifty I will put this back for review, only the last commit has not been checked. |
4e98005 to
fe5b797
Compare
slifty
left a comment
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.
Code makes sense to me, thank you!
omnignorant
left a comment
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.
This is definitely working now!
In order for the sticky footer to remain on the screen, when the modal disappears, the listener had to be removed, because it specifically closes the component when the user clicks outside of it. This seems to be more like legacy code that has been used in the past, because the footer component is only used in the share preview and the listener produces the bug. Issue: PER-10316 Create account sticky footer disappears
When clicking the file preview, the create account modal appears again but the sticky footer was disappearing. The method removed above will let the component remain visible at all times, up until the user clicks the x button. This behaviour is loosely consistent with the behaviour that the accept share sticky footer has. Issue: PER-10316 Create account sticky footer disappears
The sticky footer for account creation would appear for pages with a lot of records and folders only on scroll, which is not correct, so the checks for scroll height had to be removed Issue: PER-10316 Create account sticky footer disappears
fe5b797 to
526e28b
Compare
STEPS TO TEST:
EXPECTED: The preview of the share and the sticky footer will be covered by a layover and a modal.
EXPECTED: The modal will close, the sticky footer will stay on the screen
EXPECTED: The sticky footer will disappear
EXPECTED: The modal appears again, the sticky footer does not
Issue: PER-10316 Create account sticky footer disappears