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

Dropdown - LazyLoad does not ssem to work #2975

Closed
hubertguillemain opened this issue Jul 4, 2018 · 1 comment
Closed

Dropdown - LazyLoad does not ssem to work #2975

hubertguillemain opened this issue Jul 4, 2018 · 1 comment
Labels

Comments

@hubertguillemain
Copy link

Bug Report

As far as I understand, the new lazyLoad prop on the Dropdown (feat #1918 ) should only add the elements to the DOM when the Dropdown is actually opened.
This is not the case

Steps

  1. Go to https://react.semantic-ui.com/modules/dropdown#types-dropdown
  2. Add the prop lazyLoad to the dropdown
  3. Open Chrome dev tools, and inspect the closed dropdown element

Expected Result

The dropdown children should be created in the DOM only when the dropdown is opened

Actual Result

The dropdown children are present in the DOM even when the dropdown is closed
screenshot_171

Version

0.81.3 (doc site)

@layershifter
Copy link
Member

This option doesn't for the children API, use the shorthand API.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants