[Devvit Web] "height: tall" not respected for inline posts on Reddit mobile app (iOS/Android)
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Quiet
- Tech stack
- typescript
- Domain
- frontend, mobile-dev
Research direction
Start with the Devvit Web inline post handling and the devvit.json post configuration shown in the issue; reproduce the height difference on Reddit iOS or Android and compare it with the old addCustomPostType({ height: 'tall' }) behavior. Done means an inline post configured with height: "tall" renders at 512px on mobile in both the feed and post detail page without regressing desktop behavior.
Written by the indexing model from the issue text.
Description
Summary
Inline webview posts configured with "height": "tall" in devvit.json render at a significantly smaller height than 512px on the Reddit iOS and Android apps. The post appears short/clipped in both the feed and on the post detail page.
Expected behaviour
Post renders at 512px ("tall") height inline, matching the behaviour of the old addCustomPostType({ height: 'tall' }) Blocks API.
Actual behaviour
Post renders at a noticeably smaller height (~350px or less) on mobile. Desktop appears unaffected.
devvit.json config
"post": { "dir": "dist/client", "entrypoints": { "default": { "entry": "index.html", "height": "tall", "inline": true } } }
CSS approaches tried, all fail on mobile
height: 100% on html, body, #root (per official template)
height: 100vh
position: fixed; inset: 0 on body
window.innerHeight read at runtime as explicit px height
Hardcoded height: 512px on all elements
Additional context
Posts created with the old addCustomPostType({ height: 'tall' }) Blocks API render at the correct height — this is a regression specific to the new Devvit Web post type
@devvit/public-api version: 0.12.17
Reproducible on iOS Reddit app
- Dominant language
- TypeScript
- Stars
- 217
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 reddit/devvit
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 67/100
-
Bound concurrent filesystem reads during asset discovery and source ZIP generationPossibly taken @CR29-22-2805 claimed this 139 days ago. Open
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
Similar issues
-
bug data-types
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/clickhouse-js#1293 ·
Maintainers usually reply within 1 day
-
area: middleware enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
agent/quality testing
Difficulty 1/5 Under an hour Newbie friendliness 95/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 92/100
Maintainers usually reply within 2 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
juspay/agent-distro#203 ·
Maintainers usually reply within 1 day