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

Docs Site: Lightbox component does not work properly #2363

Open
anuradha9712 opened this issue Oct 1, 2024 · 1 comment
Open

Docs Site: Lightbox component does not work properly #2363

anuradha9712 opened this issue Oct 1, 2024 · 1 comment
Assignees
Labels
documentation Improvements or additions to documentation gatsby hacktoberfest https://hacktoberfest.digitalocean.com

Comments

@anuradha9712
Copy link
Collaborator

anuradha9712 commented Oct 1, 2024

Description

When the user navigates to the MDS Docs site and clicks on any image, the lightbox feature does not appear to function properly.

It was working previously, but stopped functioning after migrating the code from Gatsby v3.x to v5.x

Steps to reproduce

  • Navigate to the MDS Docs site
  • Clicks on any image
  • Image does not opens in an overlay on top of the current page.

Expected result

After clicking on the image, the image should opens in an overlay on top of the current page, dimming or blurring the background to focus on the image.

Steps to fix the issue

  • Fork and clone this repository
  • First checkout to develop branch, and from that create a new branch
  • Switch current directory to docs using command cd docs
  • Install dependencies using npm install
  • Start development server using npm run dev
  • Check the issue on your local environment on localhost:8000
  • Refer to lightbox codebase and main layout component
@anuradha9712 anuradha9712 added hacktoberfest https://hacktoberfest.digitalocean.com gatsby documentation Improvements or additions to documentation labels Oct 1, 2024
@youngheart12
Copy link
Contributor

@anuradha9712 Please assign this to me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation gatsby hacktoberfest https://hacktoberfest.digitalocean.com
Projects
None yet
Development

No branches or pull requests

2 participants