antd v4.9.0 Release Notes

Release Date: 2020-12-01 // over 3 years ago
    • Modal
      • ๐Ÿ†• Modal support focusTriggerAfterClose to disable auto focus back. #27985 @molokovev
      • ๐Ÿž Fix Modal hooks not trigger onCancel. #28063 @JuniorTour
      • ๐Ÿž Fix Modal sometime not popup from the click position. #28037
      • ๐Ÿ†• Support closable and closeIcon api for Modal.method. #27909 @MrHeer
    • ๐Ÿฑ ๐Ÿ’„ Reduce Table selection column width to 32px. #28073
    • Image
      • ๐Ÿ”ฅ Image add PreviewGroup component to support multiple images preview. #28069
      • ๐Ÿž Fix Image style prop not acting on img element. #27446
    • Collapse
      • ๐Ÿ”ฅ Collapse support collapsible to customize trigger region and deprecated Panel disabled prop. #27790
      • ๐Ÿž Fix Collapse cannot contains <Table sticky />. #28039
    • ๐Ÿฑ ๐Ÿž Fix Cascader bug that empty data can be selected. #28062 @n0ruSh
    • ๐Ÿฑ ๐Ÿ†• Alert support action prop. #25892 @jesse3mh9a
    • ๐Ÿ”จ ๐Ÿ”ฅ Tree refactor drag behavior. Add dropIndicatorRender and allowDrop prop. #26462 @07akioni
    • ๐Ÿฑ ๐Ÿ†• Space support wrap for auto break line. #27910
    • ๐Ÿ’… ๐Ÿ†• Descriptions.Item support labelStyle & contentStyle props. #27897
    • ๐Ÿฑ ๐Ÿ†• Form.List support initialValue. #27872
    • ๐Ÿ’… ๐Ÿ†• Menu supports expandIcon, and optimize default expand icon style. #27565
    • ๐Ÿฑ ๐Ÿ†• Input and TextArea add setSelectionRange of ref. #27584 @appleshell
    • ๐Ÿฑ ๐Ÿ†• Select support filterSort to order the filtered options. #27523 @n0ruSh
    • ๐Ÿฑ ๐Ÿ‡ฐ๐Ÿ‡ฟ Add Kazakh locale. #27589 @nodkz

    • Modal
      • ๐Ÿ†• Modal ๆ”ฏๆŒ focusTriggerAfterClose ไปฅๅ…ณ้—ญ่‡ชๅŠจๆขๅค็„ฆ็‚น็š„ๅŠŸ่ƒฝใ€‚#27985 @molokovev
      • ๐Ÿž ไฟฎๅค Modal hooks ๆฒกๆœ‰่งฆๅ‘ onCancel ็š„้—ฎ้ข˜ใ€‚#28063 @JuniorTour
      • ๐Ÿž ไฟฎๅค Modal ๆœ‰ๆ—ถไธๅœจ็‚นๅ‡ปไฝ็ฝฎๅผนๅ‡บ็š„้—ฎ้ข˜ใ€‚#28037
      • ๐Ÿ†• Modal.method ๆ”ฏๆŒ closable ๅ’Œ closeIconใ€‚#27909 @MrHeer
    • ๐Ÿฑ ๐Ÿ’„ ๅ‡ๅฐ‘ Table ้€‰ไธญๅˆ—ๅฎฝๅบฆ่‡ณ 32pxใ€‚#28073
    • Image
      • ๐Ÿ”ฅ Image ๅขžๅŠ  PreviewGroup ็ป„ไปถๆ”ฏๆŒๅคšๅผ ๅ›พ็‰‡้ข„่งˆใ€‚#28069
      • ๐Ÿž ไฟฎๅค Image style ๅฑžๆ€งๆœชไฝœ็”จไบŽ img ๅ…ƒ็ด ็š„้—ฎ้ข˜ใ€‚#27446
    • Collapse
      • ๐Ÿ”ฅ Collapse ๆทปๅŠ  collapsible ไปฅๆ”ฏๆŒๆŒ‡ๅฎšๅฏๆŠ˜ๅ ่งฆๅ‘ๅŒบๅŸŸๅนถๅบŸๅผƒ Panel ็š„ disabled ๅฑžๆ€งใ€‚#27790
      • ๐Ÿž ไฟฎๅค Collapse ๅ†…ไฝฟ็”จ <Table sticky /> ๆ—ถไธ็”Ÿๆ•ˆ็š„้—ฎ้ข˜ใ€‚#28039
    • ๐Ÿฑ ๐Ÿž ไฟฎๅค Cascader ็ฉบๆ•ฐๆฎๅฏไปฅ่ขซ้€‰ๆ‹ฉ็š„้—ฎ้ข˜ใ€‚#28062 @n0ruSh
    • ๐Ÿฑ ๐Ÿ†• Alert ๆ”ฏๆŒ action ๅฑžๆ€งใ€‚#25892 @jesse3mh9a
    • ๐Ÿฑ ๐Ÿ”ฅ Tree ้‡ๆž„ๆ‹–ๆ‹ฝ่กŒไธบ๏ผŒๅขžๅŠ  dropIndicatorRender ๅ’Œ allowDrop ๅฑžๆ€งใ€‚#26462 @07akioni
    • ๐Ÿฑ ๐Ÿ†• Space ๅขžๅŠ  wrap ๅฑžๆ€งไปฅ้…็ฝฎ่‡ชๅŠจๆข่กŒใ€‚#27910
    • ๐Ÿ’… ๐Ÿ†• Descriptions.Item ๆ”ฏๆŒ labelStyle ๅ’Œ contentStyle ๅฑžๆ€งใ€‚#27897
    • ๐Ÿฑ ๐Ÿ†• Form.List ๆ”ฏๆŒ initialValueใ€‚#27872
    • ๐Ÿฑ ๐Ÿ†• Menu ๆ–ฐๅขž expandIcon ๅฑžๆ€งไปฅๆ”ฏๆŒ่‡ชๅฎšไน‰ๅฑ•ๅผ€ๅ›พๆ ‡๏ผŒๅŒๆ—ถไผ˜ๅŒ–ไบ†้ป˜่ฎคๅ›พๆ ‡็š„ๆ ทๅผใ€‚#27565
    • ๐Ÿฑ ๐Ÿ†• Input ๅ’Œ TextArea ็ป„ไปถ็š„ ref ๅฑžๆ€งๅขžๅŠ setSelectionRangeๆ–นๆณ•ใ€‚#27584 @appleshell
    • ๐Ÿฑ ๐Ÿ†• Select ็ป„ไปถๆ–ฐๅขž filterSort ๅฑžๆ€งไปฅๆ”ฏๆŒ็ญ›้€‰ๆจกๅผไธ‹้€‰้กนๆŽ’ๅบๅŠŸ่ƒฝใ€‚#27523 @n0ruSh
    • ๐Ÿฑ ๐Ÿ‡ฐ๐Ÿ‡ฟ ๆ–ฐๅขžๅ“ˆ่จๅ…‹่ฏญใ€‚#27589 @nodkz