react / react/yoga

position: fixed support, want to make a view fullscreen.

Open
#264 12 comments 13 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Algorithm Feature Request
Dominant language
C++
Stars
18.9k
Forks
1.6k
Avg merge
1m
Merged PRs (30d)
1

Description

For support of position: "fixed" in css-layout,

Use case : I have (many) videoView deeply nested in view hierarchy - think list of videos, any one of which I want to make fullscreen.

Current approach (hack) : make videoview as big as screen(fixed values for height width in css style), track videoview's parent layout position and give negative margins to videview to show it properly.

Desired approach : Was wondering if there is a simple way to do this (like position: fixed and specify screen co-ordinates)

Any suggestions or help is welcome

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The issue names no files, tests, or entry points. Begin by locating Yoga's handling of CSS positioning and compare its supported behavior with position: fixed; clarify the expected screen-coordinate semantics for deeply nested views. Done requires an agreed behavior and tests covering the requested positioning.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, css
Domain
frontend, web-dev
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.