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

Deprecate Component#isVisible #324

Merged
merged 8 commits into from
Jun 22, 2018

Conversation

Parrryy
Copy link
Contributor

@Parrryy Parrryy commented Apr 3, 2018

Parrryy and others added 2 commits April 3, 2018 10:07
First, thanks for putting this together!

This fixes a few small typos, and rephrases "attribute" to "property", as the first is commonly used when creating HTML nodes. See https://stackoverflow.com/questions/6003819/what-is-the-difference-between-properties-and-attributes-in-html
What would be the suggested way of hiding components from the DOM in Ember as
there are a few options to choose from?

When will support for the deprecated property end?
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is public, so according to SemVer this should be 4.0

@Parrryy Parrryy force-pushed the master.deprecate-is-visible branch from f679254 to cc52c4a Compare April 4, 2018 07:51
@Parrryy Parrryy force-pushed the master.deprecate-is-visible branch from cc52c4a to e9ad244 Compare April 4, 2018 07:57
@Gaurav0
Copy link
Contributor

Gaurav0 commented Apr 4, 2018

As to when the support will end, I think since isVisible is public it will have to be 4.0

@Parrryy
Copy link
Contributor Author

Parrryy commented Apr 5, 2018

New Draft Updated the support ending section.

such as `<div hidden={{boolean}}></div>`(hidden is valid for all elements
and is semantically correct) or wrapping the component in a template
conditional `{{#if}}`statement which do not interfere with
the `StyleBindingReference`. Components `classNames` an `classNameBindings`
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

s/an/and/

@Parrryy
Copy link
Contributor Author

Parrryy commented Apr 24, 2018

New Draft

@rwjblue rwjblue changed the title Component#isVisible deprecation first draft Deprecate Component#isVisible Apr 24, 2018
@rwjblue rwjblue self-assigned this Jun 1, 2018
@MelSumner
Copy link
Contributor

If anyone is curious about the accessibility concerns for display:none; - https://webaim.org/techniques/css/invisiblecontent/

@rwjblue
Copy link
Member

rwjblue commented Jun 1, 2018

This RFC came up at the Ember.js Core Team meeting today, and we have decided to move it forward into final comment period...

@rwjblue
Copy link
Member

rwjblue commented Jun 22, 2018

We reviewed this again at todays core team meeting, and are all still in favor.

Thanks to everyone who participated!

@rwjblue rwjblue merged commit df5f9aa into emberjs:master Jun 22, 2018
@Parrryy Parrryy deleted the master.deprecate-is-visible branch June 25, 2018 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants