🐛(Bug) Viewport meta tag lacks interactive-widget=resizes-content for BlockNote
Maintainers usually reply within 3 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 82/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- html, react, typescript
- Domain
- frontend, mobile-dev, testing-qa
Research direction
The viewport tag is set in src/frontend/apps/impress/src/pages/_app.tsx, around line 49; the jsdom head used by the tests is in vitest.setup.ts. Change the content attribute to add interactive-widget=resizes-content, then run the presenter print tests to confirm the BlockNote warning is gone. Done means the warning no longer appears and the layout still works with the mobile keyboard open.
Written by the indexing model from the issue text.
Description
BlockNote warns on every editor mount that the viewport meta tag lacks interactive-widget=resizes-content; ours only sets the width and scale.
https://github.com/suitenumerique/docs/blob/8918bd2d3ff63798aded3a22a893a9cc1896517c/src/frontend/apps/impress/src/pages/_app.tsx#L49
Without it, the mobile virtual keyboard can cover the editor instead of resizing the page (see BlockNote's mobile compatibility docs). The warning also shows in the browser console and in the Vitest output of the presenter print tests.
Suggested fix: set content="width=device-width, initial-scale=1, interactive-widget=resizes-content", check the layout on a phone with the keyboard open, and add the same tag to the jsdom head in vitest.setup.ts for the tests.
- Dominant language
- TypeScript
- Stars
- 17k
- Forks
- 705
- Avg merge
- 4d 13h
- Merged PRs (30d)
- 47
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from suitenumerique/docs
-
🐛(Bug) Helm chart is published from a push to any branch, not only mainPossibly taken @RoeeSivan claimed this 1 day ago. OpenAI generated CI helm
Difficulty 1/5 Under an hour Newbie friendliness 78/100
suitenumerique/docs#3049 ·
Maintainers usually reply within 3 days
-
🐛(Bug) Preview comment missing when a PR is opened or labelled with a conflictPossibly taken @RoeeSivan claimed this 1 day ago. OpenCI preview
Difficulty 1/5 Under an hour Newbie friendliness 90/100
suitenumerique/docs#3039 ·
Maintainers usually reply within 3 days
-
AI generated frontend
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
suitenumerique/docs#3030 · 1 comment ·
Maintainers usually reply within 3 days
-
🐛(Bug) Block menu shows an orphan separator on blocks without colors (math, diagram)Possibly taken @arxh80 claimed this 7 days ago. Openfrontend good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
suitenumerique/docs#3021 · 1 comment · 1 assignee ·
Maintainers usually reply within 3 days
-
frontend
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
suitenumerique/docs#3018 · 1 comment ·
Maintainers usually reply within 3 days
All issues in suitenumerique/docs
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
Maintainers usually reply within 1 day
-
[Security]Unauthenticated WebSocket JSON.parse Without Error Handling Leads to Process TerminationOpen
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
nocobase/nocobase#11711 · 1 comment ·
Maintainers usually reply within 1 day
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
Maintainers usually reply within 1 day
-
Y2025: QBI forms print a negative taxable income; Form 8995-A lines 14b/14c check the wrong columnOpen
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
readest/readest#7903 · 1 comment ·
Maintainers usually reply within 1 day