Skip to content

Dropdown: Allow change show/hide timeout by props#7621

Merged
Leopoldthecoder merged 2 commits intoElemeFE:devfrom
phongkt-dev:dropdown-timeout-prop
Oct 24, 2017
Merged

Dropdown: Allow change show/hide timeout by props#7621
Leopoldthecoder merged 2 commits intoElemeFE:devfrom
phongkt-dev:dropdown-timeout-prop

Conversation

@phongkt-dev
Copy link
Copy Markdown
Contributor

@phongkt-dev phongkt-dev commented Oct 21, 2017

Please make sure these boxes are checked before submitting your PR, thank you!

  • Make sure you follow Element's contributing guide (中文 | English).
  • Make sure you are merging your commits to dev branch.
  • Add some descriptions and refer relative issues for you PR.

| trigger | how to trigger | string | hover/click | hover |
| hide-on-click | whether to hide menu after clicking menu-item | boolean | — | true |
| show-timeout | Delay time before show a dropdown | number | — | 250 |
| hide-on-click | Delay time before hide a dropdown | number | — | 150 |
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I think it should be hide-timeout

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

My mistake, thank you.

@Leopoldthecoder Leopoldthecoder merged commit 5698e77 into ElemeFE:dev Oct 24, 2017
bluejfox added a commit to setariajs/setaria-ui that referenced this pull request Feb 5, 2018
Merge commit '762f337b2c8eac32eb1cc85c4af1e7718973cdeb' into current

* commit '762f337b2c8eac32eb1cc85c4af1e7718973cdeb': (111 commits)
  [release] 1.4.8
  [build] 1.4.8
  Changelog: update for 1.4.8 (ElemeFE#7683)
  Dropdown: allow change show/hide timeout by props (ElemeFE#7621)
  Update form.md
  Update form.md
  DateTimePicker: fix hidden last item of sidebar (ElemeFE#7567)
  update beta notice
  update Readme.md
  Menu: fix close menu bug
  minor fixes for select, message-box and textarea
  Update package.json
  [release] 1.4.7
  [build] 1.4.7
  Changelog: update for 1.4.7
  Switch: Add `allowFocus` prop & focus/blur events (ElemeFE#7494)
  fix ElemeFE#5813
  Table: Add `important` rule to `col-resize` cursor (ElemeFE#7381)
  Form-item: fix "required" attribute is not effective for validation
  add 2.0 alpha notification
  ...

# Conflicts:
#	CHANGELOG.zh-CN.md
#	README.md
#	examples/versions.json
#	package.json
#	packages/loading/src/directive.js
#	packages/loading/src/index.js
#	src/index.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants