Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Component local breakpoints #43

Open
jacojoubert opened this issue Jun 15, 2016 · 1 comment
Open

Component local breakpoints #43

jacojoubert opened this issue Jun 15, 2016 · 1 comment

Comments

@jacojoubert
Copy link
Contributor

jacojoubert commented Jun 15, 2016

Blocked on #46

@media css rules depend on the viewport size to enable css rules. The problem is when the same component gets used a multiple locations at different widths. There is no way to specify a break point based on the width of the component itself.

We should have a way to change a component's behaviour based not only based on the viewport size, but also on the component's size and bind to any changes.

Use Cases

  • The table component uses different layouts depending on how much width it has available. We need to be able to detect when the space available changes and bind to it.

image

image

  • When you create complex forms sometimes you need to reflow the content when the space gets too narrow.

image

image

@ebryn ebryn changed the title Component size binding Component local breakpoints Jun 15, 2016
@ebryn
Copy link
Member

ebryn commented Jun 15, 2016

  • figure out our unified layout strategy
    • investigate Flexi's approach

@ebryn ebryn modified the milestone: 2016-06-27 Jun 16, 2016
@ebryn ebryn modified the milestones: 2016-06-27, 2016-07-04 Jun 24, 2016
@ebryn ebryn modified the milestones: , 2016-07-04 Jul 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants