Comments (6)
from element-plus.
This is normal behavior. In fact, a
tag does not support disabled. If you need this effect, please handle it yourself as @warmthsea suggested.
from element-plus.
是否可以考虑是在a标签的时候使用pointer-events在实现禁用功能
from element-plus.
是否可以考虑是在a标签的时候使用pointer-events在实现禁用功能
pointer-events
也不是最佳实践,用户可以通过控制面板去掉样式。这块假如是a
标签,是可以预先知道的,手动解决就行。
from element-plus.
是否可以考虑是在a标签的时候使用pointer-events在实现禁用功能
pointer-events
也不是最佳实践,用户可以通过控制面板去掉样式。这块假如是a
标签,是可以预先知道的,手动解决就行。
是的,这只是hack的一个方案想法,对于大部分用户来说,普遍认为就只要设置了disabled点击事件不要触发。我相信这种场景来问问题的用户肯定不在少数,或许可以在文档中说明,disabled在tag=a时候无效。
from element-plus.
成功解决了我的问题 感谢
from element-plus.
Related Issues (20)
- [Component] [tour] CDN 下使用el-tour 会报错aria.ts:22 Uncaught (in promise) ReferenceError: process is not defined HOT 12
- [Style] [table] 表格内容溢出时,鼠标移入显示的tooltip背景色显示无效 HOT 3
- [Component] [input] input component: The clearable attribute is invalid HOT 1
- [Component] [date-picker, time-picker] DatePicker 选中值并隐藏下拉选项后,在先聚焦外部的情况下,再次点击页面其它地方会再次出现消失动画 HOT 2
- [Component] [table, table-column] table 多列合并后渲染了多余的数据 HOT 3
- [Component] [table, table-column] el-table内的show-overflow-tooltip属性,在windows的chrome浏览器内,会在文字没有溢出时,也会出现Tooltip 文字提示 HOT 2
- [Component] [tree-select] [Component] [TreeSelect ] TreeSelect 设置check-strictly="false后当子节点无children,子节点也可被选择 HOT 4
- [Component] [input-number] <el-input-number> 可以输入e 其他都输不了 HOT 2
- [Component] [color-picker] Cannot set class name of el-color-picker’s trigger
- [Component] [radio] radio无法被选中 HOT 16
- [Style] [dropdown] Dropdown 下拉菜单 HOT 6
- [slider] slider 组件会响应home和end的快捷键,我不想让他响应,我应该怎么做? HOT 11
- [Component] [tree-select] 开启 `allow-create` 时样式错乱 HOT 1
- [Component] [All] Failed to resolve component: el-button If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement. HOT 1
- [Component] [select]: select 配置可清空功能,清空后值变成undefined,类型发生变化 HOT 8
- [Component] [row, col] 当横向渲染分辨率设置为767px时el-col组件布局失去响应式。
- [IDEA] more Types HOT 1
- [Feature Request] More types HOT 5
- [tree-select] el-tree-select HOT 1
- [Component] [select, select-v2] select中添加了tagTooltip但popper-options属性不能定义导致tagTooltip显示是会被盖住
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from element-plus.