[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
- 210
- Forks
- 88
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
requestExpandedMode(event, "game") does not switch inline webview to the game entrypoint in Playtest Open
Difficulty 4/5 3-5 days Newbie friendliness 45/100
Similar issues
-
VerificationGate: ATTRIBUTION quote guard never matches a normal quotation (\b around the quote) Open
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
danielmiessler/LifeOS#2234 ·
-
T: Bug
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Mend: dependency security vulnerability untriaged
Difficulty 2/5 1-3 hours Newbie friendliness 70/100