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

fix(pro:search): remove name input min-width #1551

Merged
merged 1 commit into from
May 17, 2023

Conversation

sallerli1
Copy link
Contributor

PR Checklist

Please check if your PR fulfills the following requirements:

  • The commit message follows our guidelines
  • Tests for the changes have been added/updated or not needed
  • Docs and demo have been added/updated or not needed

What is the current behavior?

复合搜索的搜索项名称选择占用了一个min-width

What is the new behavior?

去掉min-width,跟随输入内容变化而变化

Other information

  1. 原写法segmentInput 的 class没有生效,做修改,此改动和组件使用无关
  2. 搜索项名称的选择浮层下keydown的触发拦截条件改为过滤出的搜索项名称是否为空
  3. 阻止segment的点击事件冒泡,防止对上层容器事件监听的影响

@idux-bot
Copy link

idux-bot bot commented May 16, 2023

This preview will be available after the AzureCI is passed.

@sallerli1 sallerli1 force-pushed the fix-pro-search-on-create-saller branch from a855685 to 2a54dda Compare May 16, 2023 04:40
@codecov
Copy link

codecov bot commented May 16, 2023

Codecov Report

Merging #1551 (f794c8a) into main (05fdb30) will not change coverage.
The diff coverage is n/a.

❗ Current head f794c8a differs from pull request most recent head 2a54dda. Consider uploading reports for the commit 2a54dda to get more accurate results

@@           Coverage Diff           @@
##             main    #1551   +/-   ##
=======================================
  Coverage   92.78%   92.78%           
=======================================
  Files         331      331           
  Lines       30676    30676           
  Branches     3508     3508           
=======================================
  Hits        28462    28462           
  Misses       2214     2214           

@danranVm danranVm merged commit 04e2500 into IDuxFE:main May 17, 2023
@sallerli1 sallerli1 deleted the fix-pro-search-on-create-saller branch July 4, 2024 09:27
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