microsoft / microsoft/react-native-gallery
Bug 54108707: [React Native Gallery -> Media -> TrackPlayer]: Unable to access 'Next' and 'Previous' buttons.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 257
- Forks
- 57
- Avg merge
- 18h 19m
- Merged PRs (30d)
- 10
Description
Build Details:
OS Version: Dev (OS Build 27695.1000)
App: React Native Gallery
App Version: 1.0.18.0
React Native Windows Version: 0.75.0
Repro-Steps:
Launch the React Native Gallery app.
Navigate to ‘All samples’ button present in left navigation pane and invoke it.
Navigate to ‘TrackPlayer’ button present under “Media” group and invoke it.
Navigate to 'Next' or 'Previous' button until you reach to last/first track.
Now observe the 'Next' and 'Previous' button and invoke it.
Actual Result:
Unable to access 'Next' and 'Previous' buttons. 'Next' and 'Previous' buttons are in
enable state and upon activating these buttons, no action is performed.
Note: Same issue is observed in ‘LottieAnimations’ control: Upon activating ‘pause’, ‘resume’ and ‘reset’ buttons no action is performed but visually buttons are there in enable state.
Expected Result:
'Next' and 'Previous' buttons should be in disabled state when these buttons are not having/defined specific actions for the buttons.
Link to ADO bug: https://microsoft.visualstudio.com/OS/_workitems/edit/54108707
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by running the React Native Gallery app and reproducing the issue in the Media > TrackPlayer sample at the first and last tracks. Trace the Next and Previous controls and compare their state with whether an action exists; done means unavailable controls are disabled and no-op activation is no longer exposed. Check the related LottieAnimations pause, resume, and reset controls as noted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react-native, typescript
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100