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

[radio] 当文字过长 使用...表示时,无法知晓文字的内容,需要hover时能显示全部的文字 #831

Closed
albyben opened this issue Jul 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@albyben
Copy link
Collaborator

albyben commented Jul 18, 2024

重现链接或代码

import React from 'react'
import ReactDOM from 'react-dom'
import { Radio } from '@kdcloudjs/kdesign'
const Demo = () => {
  function onChange(e) {
    console.log(`radio checked: ${e.target.value}`)
  }
  return (
    <div
      style={{
        width: '450px'
      }}>
      <Radio.Group onChange={onChange} defaultValue="a">
        <Radio.Button value="a" title="SHenzhen">Shenzhen</Radio.Button>
        <Radio.Button value="b">Shanghai</Radio.Button>
        <Radio.Button value="c">Beijing</Radio.Button>
        <Radio.Button value="d">Guangzhou</Radio.Button>
      </Radio.Group>
    </div>
  )
}
ReactDOM.render(<Demo />, mountNode)

重现问题步骤

将此代码贴到任一组件的演示代码中,悬浮到Shenzhen 未显示出提示

期望的结果是什么

实际的结果是什么

组件库版本号、浏览器信息

组件库与浏览器均为最新版本

albyben pushed a commit to albyben/kdesign that referenced this issue Jul 18, 2024
albyben pushed a commit to albyben/kdesign that referenced this issue Jul 18, 2024
@albyben albyben added the enhancement New feature or request label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant