Comments (2)
Furthermore, window resize listening should be pushed up to the OIO container, which would then fire events on relevant child Components such as View. There is no need to have a window resize listener for each View (or any other) component.
Perhaps something that should be slotted in to 1.5 or 1.6.
from oio.
To ensure View rerenders only when a parent component's DOM element changes size, View should:
- have a prop function (maybe read only immmutable) that is fired by an ancestor View
- fire the aforementioned prop when its size changes on all child Views
from oio.
Related Issues (20)
- OIO container fontFamily inheritance
- Popover height should have the ability to automatically calculate height
- Ability to set a max-length on Form Input fields
- Proper implementation of View position=middle
- Fix padding of buttons in plain mode
- Button Group component can have a vertical orientation HOT 1
- Deprecate fontFamily and primaryColor props
- Button mode="loading" should make button unclickable
- Update Form components to support undefined values HOT 1
- Use context to get window size once and propagate down
- Change all `newProps` to `nextProps` HOT 1
- Deprecate Title component.
- Switch 'ghooks' to 'husky' HOT 1
- DateInput can handle timezones directly
- Improve UI for DateInput
- Textarea can auto grow
- Enable mangle option in webpack configuration
- OIO Form needs better comparison
- Optimize OIO Form rendering
- GridRow can have className prop
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from oio.