Unity-Technologies / Unity-Technologies/uGUI

ScrollRect bug

Open
#7 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C#
Stars
1.6k
Forks
323
PR merge metrics
No merged PRs in 30d

Description

拖拽时隐藏,重新显示时content的位置有可能会出现异常,可能是m_Dragging没有重置导致
Hidden when dragging, m_Dragging is not reset, content position is incorrect.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the ScrollRect implementation and its m_Dragging state, then reproduce hiding and showing the component during a drag. The issue is complete when the content position remains correct after the ScrollRect is shown again and the relevant behavior is covered by an appropriate test if the repository provides one.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.