imaNNeo / imaNNeo/fl_chart

Bug: panEnd gesture does not get the right spot on the barline always gets the first spot

Open
#265 2 comments 0 reactions 0 assignees View on GitHub
bug enhancement Fundamental
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

The panEnd gesture always returns the 1st point on the barline, it does not return the correct spot it was stopped. I was able to view this by logging out where the panEnd stops. It should stop at the last update point but it resets back to one.

![image](https://user-images.githubusercontent.com/3495974/77572409-4c7ad900-6ea5-11ea-96a4-9145afc8f042.png)

Contributor guide

Open the contributing guide

Research direction

Start by locating the panEnd gesture handling and the bar chart touch-selection logic in the Flutter chart code. Reproduce a gesture that stops away from the first barline point and inspect the logged stopping position. Done means panEnd preserves the last update point instead of resetting to the first point.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.