fkhadra / fkhadra/react-on-screen

Make offset prop a flexible unit

Open
#40 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
402
Forks
50
PR merge metrics
No merged PRs in 30d

Description

It would be very useful for responsive design to have the offset prop be a string which would allow units to be flexible. I.e. - Instead of specifying the px height we could specify e.g. a vh unit, or rems or whatever...

Thoughts/workaround?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.