You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
The click handler should be called when the component is clicked like the QTd component, and as it did in Quasar v1 (example: https://codepen.io/dylancyclone/pen/ZEKYEEV)
Platform (please complete the following information):
Quasar Version: v2.0.1
@quasar/app Version: v3.0.1
Describe the bug
The
@click
handler is not called when clicking on a QTh componentCodepen/jsFiddle/Codesandbox (required)
https://codepen.io/dylancyclone/pen/LYyEYEV
To Reproduce
Steps to reproduce the behavior:
QTh
component@click
handlerQTh
componentExpected behavior
The click handler should be called when the component is clicked like the
QTd
component, and as it did in Quasar v1 (example: https://codepen.io/dylancyclone/pen/ZEKYEEV)Platform (please complete the following information):
Quasar Version: v2.0.1
@quasar/app Version: v3.0.1
Quasar mode:
Tested on:
OS: Ubuntu 20.04
Node: v12.22.1
Yarn: v1.22.10
Browsers: Chromium, Firefox
Additional context
Looking at the code, it appears the component only emits the click event if it's props say the column it's attached to is sortable
quasar/ui/src/components/table/QTh.js
Lines 62 to 67 in 3e61e24
The text was updated successfully, but these errors were encountered: