echarts-bot[bot] commented on issue #20646:
URL: https://github.com/apache/echarts/issues/20646#issuecomment-2568871370

   @BSPR0002 It seems you are not using English, I've helped translate the 
content automatically. To make your issue understood by more people and get 
helped, we'd like to suggest using English next time. 🤗
   <details><summary><b>TRANSLATED</b></summary><br>
   
   **TITLE**
   
   [Feature] Add an option to the dataZoom-inside configuration item to trigger 
only when the function key is not pressed
   
   **BODY**
   
   ### What problem does this feature solve?
   
   If the moveOnMouseWheel, moveOnMouseMove, and zoomOnMouseWheel options of 
the dataZoom-inside configuration item are set to true, they will still be 
triggered when ctrl, shift, or alt are pressed, causing conflicts with other 
mouse operations configured with specific function keys.
   
   
   ### What does the proposed API look like?
   
   Would like to add options to moveOnMouseWheel, moveOnMouseMove, 
zoomOnMouseWheel that only trigger when the function key is not pressed, for 
example:
   ```javascript
   chart.setOption({
       dataZoom: [{
           type: "inside",
           zoomOnMouseWheel: "no-function-key"
       }]
   })
   `
   </details>


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to