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

bugfix: scroll to top of modal, when modal is bigger than view #1695

Merged
merged 3 commits into from
Jul 19, 2023

Conversation

Mahmoud-zino
Copy link
Contributor

@Mahmoud-zino Mahmoud-zino commented Jun 23, 2023

Linked Issue

Closes #1683

Description

Fixed the bug using the code suggestion

Changsets

bugfix: fixed Scroll to the top of the modal, when the modal is bigger than the view.

Checklist

Please read and apply all contribution requirements.

  • This PR targets the dev branch (NEVER master)
  • Documentation reflects all relevant changes
  • Branch is prefixed with: docs/, feat/, chore/, bugfix/
  • Ensure Svelte and Typescript linting is current - run pnpm check
  • Ensure Prettier linting is current - run pnpm format
  • All test cases are passing - run pnpm test
  • Includes a changeset (if relevant; see above)

@changeset-bot
Copy link

changeset-bot bot commented Jun 23, 2023

🦋 Changeset detected

Latest commit: 1f00268

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@skeletonlabs/skeleton Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Jun 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
skeleton-docs ✅ Ready (Inspect) Visit Preview Jul 7, 2023 5:36pm

@endigo9740
Copy link
Contributor

@Mahmoud-zino I think I mentioned this on Discord previously, but just so it's echoed here - I'd like to revisit the styling on this. I believe this is how we had the component styled previously and it introduced some issue for modals that were meant to fill the available screen space.

We may need to introduce a toggle or setting for this. I'll revisit asap.

@Mahmoud-zino
Copy link
Contributor Author

@endigo9740 In the meantime I will do some testing 👍

@endigo9740
Copy link
Contributor

@Mahmoud-zino I'm reverting this back to Draft until I can make my changes. This will likely occur next week after the next release.

@endigo9740 endigo9740 marked this pull request as draft July 14, 2023 17:12
@endigo9740 endigo9740 marked this pull request as ready for review July 19, 2023 18:17
@endigo9740
Copy link
Contributor

@Mahmoud-zino after reviewing this again with a fresh set of eyes I think your changes will work for now. I do still have some concerns for edge cases, but for the majority of users this will likely work as desired. We'll monitor and if issues arise we'll revisit.

@endigo9740 endigo9740 merged commit 9d07e49 into skeletonlabs:dev Jul 19, 2023
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Can't scroll to the top of a modal
2 participants