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

Volunteer Events Page Side View Mobile Bug #178

Closed
NwinNwin opened this issue Apr 23, 2024 · 0 comments · Fixed by #183
Closed

Volunteer Events Page Side View Mobile Bug #178

NwinNwin opened this issue Apr 23, 2024 · 0 comments · Fixed by #183
Assignees

Comments

@NwinNwin
Copy link
Collaborator

image

Description

  • Currently, when viewing Volunteer Event Page in Mobile, clicking on an event in upcoming events will shows the buggy sideview like the image above
    • This is because the code for VolunteerSideView is only made for desktop view

To do

  • To fix this, make a new component called VolunteerSideViewDrawer.jsx

    • This will be a ChakraUI Drawer that has a size of full
    • Read the documentation about Drawer and try this demo to learn more about size = full
      -
  • This VolunteerSideViewDrawer will have the same design as the VolunteerSideView but it is a drawer that will cover the whole screen when open to avoid components being on top of each other.

  • Use const { isOpen: isDrawerOpen, onOpen: onDrawerOpen, onClose: onDrawerClose } = useDisclosure() in VolunteerEventPage.jsx and pass those as prop to VolunteerSideViewDrawer in order for the drawer to work

  • Please ask us if you have questions about anything!

Resources

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 a pull request may close this issue.

3 participants