Commit Graph

20 Commits

Author SHA1 Message Date
Andrzej Bakun
c099874086 fix(module: menu): Overlay bug fix & menu renering optimization (#1949)
* fix(module:overlay): submenu causing crash

* fix(module:overlay): submenu causing crash

* fix(module:menu): show missing chevron

mark top menu as selected on init
do not render non-active overlay submenus

* tests: common js mock extracted

nullable enabled for test project

* tests: menu

* fix(module:menu): incorrect behavior in layout
2021-09-16 22:46:45 +08:00
Andrzej Bakun
3d4f7adaaf perf(module: overlay): positioning moved to js (#1848)
* fix(module:overlay): move postion calculation to js

fixes #1836

* docs: TriggerBoundaryAdjustMode explanation

* docs: select & datepicker got BoundaryAdjustmetMode

cleanup

* test: fixes

optimization & cleanup

* fix(module:overlay): recalculate overlay position when trigger resizes

* Minor clean-up

* fix(module:overlay): wait for Show to finish in Hide

* fix: prevent vertical scrollbar on overlay adding

* fix: extract waiting function

* fix: overlay not to repostion when trigger vanishes (menu issue)

* fix: scroll adjustment for position: fixed

* fix: on menu mode change, keep

* merge conflict fix

* fix: nominal calculation reset on failed adjustment

* fix: bugs

* test: exclude log method from test coverage in overlay.ts
2021-09-10 19:06:50 +08:00
James Yeung
d4cbc6d4e0 feat: add element component (#1378)
* refactor: rename `HtmlElement` property case

* rename the directory name for overlay

* add element component
2021-04-17 22:14:01 +08:00
Zonciu Liang
da55e9e7e8 fix(animation): missing prefix (#1243)
* fix: add class name prefix for zoom and slide-up animations.

* fix(module: popconfirm): fix animation

* fix(module: popover): correct animation, sync de
2021-03-12 15:46:48 +08:00
笨木头
febccb3a05 fix(module: menu): Nav Menu Collapse Unresponsive (#1144) 2021-02-19 11:35:06 +08:00
笨木头
314b07daf9 feat(model: overlay): add boundary detection adjustment (#1109)
* feat(model: overlay): add boundary detection and orientation adjustment

* feat: suport inview and inscroll mode
2021-02-09 10:01:42 +08:00
James Yeung
e6076271c0 feat(module: menu): add menu item tooltip and submenu trigger type (#1082)
* feat(module: menu): add menuitem tooltip and submenu trigger type

* add the doc
2021-02-04 16:21:56 +08:00
James Yeung
436917ff9b feat(module: menu): add inline indent parameter (#1076) 2021-02-03 23:32:17 +08:00
Bintel
bb700cd7cc feat(module: menu): expose SubMenu's Placement (#921)
* Expose SubMenu's Placement

The Placement of SubMenu can now be changed and it will be set to BottomLeft or RightTop as before if you don't set it.

* Try fix #922

I'm not sure if it will bring new problems, but it solved my problem. I hope someone can help me review it to make sure it doesn't break other things.

* Just optimize code style
2020-12-25 13:28:17 +08:00
ElDiddi
f710fdae11 feat(module: menu): Menu Multiple and Menu-Item Title (#787)
* fix(module: menu): multiple and accordion demo

Co-authored-by: Lars Diederich <diederich@evodata.de>
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-11-16 12:57:42 +08:00
TimChen
cbc5e823f0 refactor(module: all): separate the normal and template parameters (#552)
* fix: card title template

* fix: template:badge,collapse

* fix: comment refactor template

* fix: ribbonTests

* feat: descriptions refactor template

* feat: empty refactor template

* feat: list refactor template

* feat: menu refactor template

* feat: confirm add question icon

* feat: pageHeader and statistic refactor template

* feat: popconfirm refactor template

* feat: popver refactor template

* feat: result refactor template

* feat: step refactor template

* feat: switch refactor template

* feat: table refactor template

* feat: transfer refactor template

* feat: optimized code

* fix: pageheader

* refactor(module: empty): remove empty image constant images

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-09-16 13:58:16 +08:00
James Yeung
a6219ab0bd fix(module: menu): can't open submenu while sider is collapsed (#539) 2020-08-28 13:51:01 +08:00
bingbingtalk
6ce885667e fix(module: menu): submenu was closed when router active (#535)
Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-08-26 23:18:49 +08:00
James Yeung
a91a5d6644 fix(module: sider): can't collapse in demo (#513) 2020-08-18 18:05:44 +08:00
James Yeung
8878b4a6f9 fix(module: menu): submenu can't open after collapsed recover (#361) 2020-07-15 01:00:06 +08:00
James Yeung
757dd369f2 fix: menu title padding and layout demo (#186) 2020-06-04 14:48:13 +08:00
James Yeung
6680fcb3da refactor: layout and mock-browser (#184) 2020-06-03 23:11:02 +08:00
ElderJames
97f920ab9a refactor: change namespcae to AntDesign 2020-05-29 00:33:49 +08:00
笨木头
7f8d65062b feat: add SubMenuTrigger(internal component) (#127)
* feat: add SubMenuTrigger(internal component)

* refactor: delete redundant comments

* feat(module: sub-menu): fix animation

* refactor: delete debug code

* refactor: delete debug code

* fix: style of menu

* fix(module: overlay): delete element error on dispose

Co-authored-by: ElderJames <shunjiey@hotmail.com>
2020-05-19 20:35:48 +08:00
James Yeung
4d2c77fec7 refactor: dropdown and menu (#126)
* feat: add mock browser

* docs: add mock browser

* docs: rename menu

* fix: style for submenu

* docs: add two menu demo

* fix: some errors

* fix(module:menu): openkeys

* docs: add switch-mode demo for menu

* docs(module:menu): finish demos

* docs(module: menu): add router demo

* docs: add new demos (#111)

* feat(module: datepicker): remove ant prefix

* feat(module: dropdown): remove ant prefix

* feat(module: empty): remove ant prefix

* feat(module: timepicker): remove ant prefix

* docs(module: datepicker): add new demos

* docs(module: dropdown): add new demos

* docs(module: empty): add new demos

* docs(module: timepicker): add new demos

* docs: remove old demo

Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>

* refactor(module: dropdown): add overlay (#122)

* feat(module: dropdown): support left/right popup

* feat(module: submenu): use dropdown to popup

* feat: add overlay and trigger class(not complete yet)

* feat: add OverlayTrigger.cs

* feat: submenu support dropdown

* feat(module: overlay): prevent hide when child is showing

* fix(module: menu): prefixCls error

* feat(module: overlay-trigger): change function to virtual

* feat(module: dropdown): remove unuse class

* feat(module: sub-menu): set IsOpen to Visible

* refactor: change namespace

* refactor: use smartEnum

* fix: menu json

* fix: submenu open state

Co-authored-by: 笨木头 <musicvs@163.com>
Co-authored-by: 钟迪龙 <mutouzdl@hotmail.com>
2020-05-18 14:46:42 +08:00