Have you read the Contributing Guidelines on issues?
Prerequisites
Description
In some blog entries with several pictures, the last picture is overridden by the previous picture when reloading the page.
I've setup the smallest blog entry that I've been able to create that will reproduce the issue in this project: https://github.com/pgrange/docusaurus-final-picture
I'm sorry I did not see https://new.docusaurus.io/ before trying to qualify the issue, I hope you can work with that.
The project has been created with:
npx create-docusaurus@latest docusaurus-final-picture classic
Then the following commit creates a blog entry which exhibits the issue.
The issue can be seen on the following page (when running locally): http://localhost:3000/blog/2023-05
Reproducible demo
http://localhost:3000/blog/2023-05 (sorry)
Steps to reproduce
git clone https://github.com/pgrange/docusaurus-final-picture.git
cd docusaurus-final-picture
yarn
yarn build
yarn serve
Then go to the following page: http://localhost:3000/blog/2023-05
You should see three images, a 1, a 2 and a 3.
Click reload.
Expected behavior
You should still see three images, a 1, a 2 and a 3 after reloading the page.
Actual behavior
You see a 1, a 2 and a 2 again. The 3 has been replaced by the 2.
Your environment
Self-service
Have you read the Contributing Guidelines on issues?
Prerequisites
npm run clearoryarn clearcommand.rm -rf node_modules yarn.lock package-lock.jsonand re-installing packages.Description
In some blog entries with several pictures, the last picture is overridden by the previous picture when reloading the page.
I've setup the smallest blog entry that I've been able to create that will reproduce the issue in this project: https://github.com/pgrange/docusaurus-final-picture
I'm sorry I did not see https://new.docusaurus.io/ before trying to qualify the issue, I hope you can work with that.
The project has been created with:
Then the following commit creates a blog entry which exhibits the issue.
The issue can be seen on the following page (when running locally): http://localhost:3000/blog/2023-05
Reproducible demo
http://localhost:3000/blog/2023-05 (sorry)
Steps to reproduce
Then go to the following page: http://localhost:3000/blog/2023-05
You should see three images, a 1, a 2 and a 3.
Click reload.
Expected behavior
You should still see three images, a 1, a 2 and a 3 after reloading the page.
Actual behavior
You see a 1, a 2 and a 2 again. The 3 has been replaced by the 2.
Your environment
Self-service