You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@echarts.apache.org by "EmmaGarcia905 (via GitHub)" <gi...@apache.org> on 2024/07/17 03:11:02 UTC

[I] [Bug] Series label shouldn't be dragged after draggable changed from true to false. [echarts]

EmmaGarcia905 opened a new issue, #20170:
URL: https://github.com/apache/echarts/issues/20170

   ### Version
   
   5.5.1
   
   ### Link to Minimal Reproduction
   
   https://echarts.apache.org/examples/zh/editor.html?c=pie-simple
   
   ### Steps to Reproduce
   
   1. open the link.
   2. add
   ```
   labelLayout: {
     draggable: true,
   },
   ```
   to `series[0]`.
   3. now the label can be dragged normally.
   4. change the `draggable` to `false`.
   5. the label can also be dragged(NG).
   Expected: the label can not be dragged after change the `draggable` to `false`.
   
   ### Current Behavior
   
   series label can be dragged after `draggable` changed from `true` to `false`.
   
   ### Expected Behavior
   
   series label shouldn't be dragged after `draggable` changed from `true` to `false`.
   
   ### Environment
   
   ```markdown
   - OS:
   - Browser:
   - Framework:
   ```
   
   
   ### Any additional comments?
   
   _No response_


-- 
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: commits-unsubscribe@echarts.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] commented on issue #20170:
URL: https://github.com/apache/echarts/issues/20170#issuecomment-2232281790

   I'm sorry to close this issue for it lacks the necessary title. Please provide **a _descriptive_ and as _concise_ as possible title to describe your problems or requests** and then the maintainers or I will reopen this issue.
   
   Every good bug report or feature request starts with a title. Your issue title is a critical element as it's the first thing maintainers see.
   
   A good issue title makes it easier for maintainers to understand what the issue is, easily locate it, and know what steps they'll need to take to fix it.
   
   Moreover, it's better to include keywords, as this makes it easier to find the issue self and similar issues in searches.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Series label shouldn't be dragged after draggable changed from true to false. [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20170:
URL: https://github.com/apache/echarts/issues/20170#issuecomment-2233763765

   The Editor does not always refresh automatically. Occasionally it is necessary to press the _Run_ button.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] [echarts]

Posted by "echarts-bot[bot] (via GitHub)" <gi...@apache.org>.
echarts-bot[bot] closed issue #20170: [Bug] 
URL: https://github.com/apache/echarts/issues/20170


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Series label shouldn't be dragged after draggable changed from true to false. [echarts]

Posted by "plainheart (via GitHub)" <gi...@apache.org>.
plainheart commented on issue #20170:
URL: https://github.com/apache/echarts/issues/20170#issuecomment-2235218186

   @helgasoft I don't think the editor is the cause. The dragging feature will not be disabled even if we set it as `false` by the API.
   
   ```js
   chart.setOption({
     series: [{
       labelLayout: {
         draggable: false
       }
     }]
   })
   ```
   
   So it's indeed a bug of `labelLayout.draggable`.


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org


Re: [I] [Bug] Series label shouldn't be dragged after draggable changed from true to false. [echarts]

Posted by "helgasoft (via GitHub)" <gi...@apache.org>.
helgasoft commented on issue #20170:
URL: https://github.com/apache/echarts/issues/20170#issuecomment-2236882334

   @plainheart, I was following the Steps to Reproduce **manual** instructions and noticed a missing final step - "hit Run".
   But for a **programmatic** update of _draggable_, yes, there is a bug - [Demo](https://echarts.apache.org/examples/en/editor.html?c=pie-simple&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMgL4A0asAzgKYBOEVFhA2uequh7NAIYC2VhAOQBBAMaiGFWADEawXoLKd0YAJ4gBsQSHqLWHGtwAmEAK6MtAVgAMAUj3LYR7mG7N9nJLABu3bKc0ARmsAFgAOEi4-TUEAZSpuGlEAC1gAUWgAcwhoKkFYUg8OL19_TQB2AGZLSJ5-IQARCBoqUTB8wsc2Hz8Awksw61rooTTebghsDqUukt7NcJDh-q0AVWgoOGEjCmmi7tK-2ErrIaiVwQA1CCMqYFht3YKigF0ZzipeEGTuCggLdhdCBgT6xNTYTSArqUH5GYAAdwAQv4aIRgu8uhRYQiAPIAMzx1DAAA1CEN9hwscYEQBhHDAVFaGiZABG3AAFGcuZFrAA6SwASkEFKIRU6ymw3BZVGwABluKpgKYwIQocojIZMpkpRDCGAaAExfpRegXigiABuFBEgAqEH4SrA7PZAoQAD5kOReKoaT8aGBeUSceBNuy1ZAwLrPY4KKYWSCAB4qrSS6VyhWOpya7UsiGwf6wPF-agOCVUPHJwQSaAgmjCzji9DUOgMdyONWcVMy-WK5WqinoDXcLU6zRF7DUEVGzhm9BEAVW0iwQIrhdAA).


-- 
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: commits-unsubscribe@echarts.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@echarts.apache.org
For additional commands, e-mail: commits-help@echarts.apache.org