Giter Site home page Giter Site logo

[Select] 窗口resize,屏幕宽度尺寸变小后,组件展示的option区域宽度能否适应与组件宽度一致(除非过小,option区域的minWidth能够将内容展示完整 about tdesign-react HOT 4 OPEN

hannah-lin-sama avatar hannah-lin-sama commented on June 1, 2024
[Select] 窗口resize,屏幕宽度尺寸变小后,组件展示的option区域宽度能否适应与组件宽度一致(除非过小,option区域的minWidth能够将内容展示完整

from tdesign-react.

Comments (4)

github-actions avatar github-actions commented on June 1, 2024

👋 @hannah-lin-sama,感谢给 TDesign 提出了 issue。
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

from tdesign-react.

hannah-lin-sama avatar hannah-lin-sama commented on June 1, 2024

image

from tdesign-react.

HaixingOoO avatar HaixingOoO commented on June 1, 2024

@hannah-lin-sama 可以看看官网文档啊官网Document
截屏2024-04-17 19 54 54

from tdesign-react.

hannah-lin-sama avatar hannah-lin-sama commented on June 1, 2024

@hannah-lin-sama 可以看看官网文档啊官网Document 截屏2024-04-17 19 54 54

20240418_140859.mp4

就是组件select的width不是一个固定的值,会适配屏幕宽度。

利用样式实现需要监听屏幕尺寸变化计算,赋给组件样式也是可以实现。

from tdesign-react.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.