The slider does not extend when expanding a specific card in the workflow log front end #12414

Closed
opened 2026-02-21 19:07:18 -05:00 by yindo · 3 comments
Owner

Originally created by @auxpd on GitHub (Mar 31, 2025).

Self Checks

  • This is only for bug report, if you would like to ask a question, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:)
  • Please do not modify this template :) and fill in all the required fields.

Dify version

1.1.3

Cloud or Self Hosted

Self Hosted (Docker)

Steps to reproduce

Image

This interface occurs when I view the iteration details

✔️ Expected Behavior

i can slide down normally to view the input and output cards.

Actual Behavior

Now on the card at the bottom, click to expand, but the slider is not extended and you cannot slide down to view the content.

Originally created by @auxpd on GitHub (Mar 31, 2025). ### Self Checks - [x] This is only for bug report, if you would like to ask a question, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [x] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [x] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [x] [FOR CHINESE USERS] 请务必使用英文提交 Issue,否则会被关闭。谢谢!:) - [x] Please do not modify this template :) and fill in all the required fields. ### Dify version 1.1.3 ### Cloud or Self Hosted Self Hosted (Docker) ### Steps to reproduce <img width="1197" alt="Image" src="https://github.com/user-attachments/assets/4827f004-ca66-4c2a-b995-4ce974107ba6" /> This interface occurs when I view the iteration details ### ✔️ Expected Behavior i can slide down normally to view the input and output cards. ### ❌ Actual Behavior Now on the card at the bottom, click to expand, but the slider is not extended and you cannot slide down to view the content.
yindo added the 🐞 bugstale🌊 feat:workflow labels 2026-02-21 19:07:18 -05:00
yindo closed this issue 2026-02-21 19:07:18 -05:00
Author
Owner

@dosubot[bot] commented on GitHub (Mar 31, 2025):

The issue you're experiencing with the slider not extending when expanding a specific card in the workflow log front end might be related to the conditional rendering logic or event handling associated with the card expansion and slider components.

The card expansion mechanism works by toggling the expanded state of the AgentLogItem component. When the card is clicked, the setExpanded function toggles the expanded state, which should display additional content if expanded is true [1].

However, if the slider is not extending as expected, it could be due to a missing or incorrect event listener or handler that should update the layout when the card is expanded. The slider functionality involves event listeners for pointer and touch events to manage its behavior [2].

To address this issue, you might want to check if the event listeners for the slider are correctly set up to respond to the card expansion. Ensure that the layout updates to accommodate the expanded content, possibly by adjusting the CSS or JavaScript logic that controls the slider's visibility and position. If the problem persists, reviewing the relevant components and their interactions in the codebase might help identify any discrepancies.

To continue talking to Dosu, mention @dosu.


Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Bug Report | Other

@dosubot[bot] commented on GitHub (Mar 31, 2025): <!-- Answer --> The issue you're experiencing with the slider not extending when expanding a specific card in the workflow log front end might be related to the conditional rendering logic or event handling associated with the card expansion and slider components. The card expansion mechanism works by toggling the `expanded` state of the `AgentLogItem` component. When the card is clicked, the `setExpanded` function toggles the `expanded` state, which should display additional content if `expanded` is `true` <sup>[[1]](https://github.com/langgenius/dify/blob/main/web/app/components/workflow/run/agent-log/agent-log-item.tsx)</sup>. However, if the slider is not extending as expected, it could be due to a missing or incorrect event listener or handler that should update the layout when the card is expanded. The slider functionality involves event listeners for pointer and touch events to manage its behavior <sup>[[2]](https://github.com/langgenius/dify/blob/main/web/public/vs/editor/editor.main.js)</sup>. To address this issue, you might want to check if the event listeners for the slider are correctly set up to respond to the card expansion. Ensure that the layout updates to accommodate the expanded content, possibly by adjusting the CSS or JavaScript logic that controls the slider's visibility and position. If the problem persists, reviewing the relevant components and their interactions in the codebase might help identify any discrepancies. <!-- Dosu Comment Footer --> *To continue talking to [Dosu](https://dosu.dev), mention @dosu.* --- <sup>Help Dosu learn! Give it feedback: [Great Response](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=great_response) | [Irrelevant Answer](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=irrelevant_answer) | [Incorrect Sources](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=incorrect_sources) | [Too Verbose](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=too_verbose) | [Hallucination](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=hallucination) | [Bug Report](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=bug_report) | [Other](https://app.dosu.dev/response-feedback/24fe7ebf-a095-427a-9ae2-c1813b5f1162?feedback_type=other)</sup>
Author
Owner

@JuneQQQ commented on GitHub (Apr 2, 2025):

same problems

@JuneQQQ commented on GitHub (Apr 2, 2025): same problems
Author
Owner

@dosubot[bot] commented on GitHub (May 3, 2025):

Hi, @auxpd. I'm Dosu, and I'm helping the Dify team manage their backlog and am marking this issue as stale.

Issue Summary:

  • Bug reported in Dify version 1.1.3 affecting slider functionality in workflow log front end.
  • Issue occurs in self-hosted Docker setup, impacting content visibility.
  • I suggested reviewing conditional rendering logic and event handling.
  • JuneQQQ confirmed experiencing the same issue, indicating it may affect multiple users.

Next Steps:

  • Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here.
  • If no updates are provided, the issue will be automatically closed in 15 days.

Thank you for your understanding and contribution!

@dosubot[bot] commented on GitHub (May 3, 2025): Hi, @auxpd. I'm [Dosu](https://dosu.dev), and I'm helping the Dify team manage their backlog and am marking this issue as stale. **Issue Summary:** - Bug reported in Dify version 1.1.3 affecting slider functionality in workflow log front end. - Issue occurs in self-hosted Docker setup, impacting content visibility. - I suggested reviewing conditional rendering logic and event handling. - JuneQQQ confirmed experiencing the same issue, indicating it may affect multiple users. **Next Steps:** - Please confirm if this issue is still relevant to the latest version of the Dify repository by commenting here. - If no updates are provided, the issue will be automatically closed in 15 days. Thank you for your understanding and contribution!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#12414