ElemeFE / ElemeFE/element

[Bug Report] tooltip content too long and position cause tooltip beyond screen width

Open
#17,661 6 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.11.1

### OS/Browsers version
macOS 10.13.6 / chrome 79.0.3928.4

### Vue version
2.6.10

### Reproduction Link
https://jsfiddle.net/1a6t47Lb/7/

### Steps to reproduce
move mouse over the 'show tooltip' which has the style 'text-align:right' div the tooltip show but its position style is 'left: -12px' cause the tooltip content oversize the screen width. the same issue happened when the table column add show-overflow-tooltip property

### What is Expected?
the tooltip should show all content and not oversize the screen width

### What is actually happening?
the tooltip content oversize the screen width and its style "left: -12px"

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.