Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to scroll table sideways in drift viewer in Flutter DevTools #2852

Open
RoarGronmo opened this issue Jan 21, 2024 · 4 comments
Open
Labels
bug Something isn't working package-devtools Related to drift's devtools extension

Comments

@RoarGronmo
Copy link

Have a large table, with many columns, I see that I cannot scroll the table sideways too see all my columns.

Using Google Chrome as browser.

image

It would also have been very convenient to have a query editor where you could query all data tables in your database, more like the one in Android Studio App Inspector.

It would also been very cool if the drift databse could be connected to the Android Studio App Inspector too... ...but that might be too much to ask for...

@simolus3
Copy link
Owner

Interesting, I can reproduce the issue as well but db_viewer is using two SingleChildScrollViews to cover both directions so it should work. I need to take a deeper look.

It would also have been very convenient to have a query editor where you could query all data tables in your database, more like the one in Android Studio App Inspector

That sounds like a lot of work, but it should be possible to port at least some of the features like the ability to run custom queries.

It would also been very cool if the drift databse could be connected to the Android Studio App Inspector too... ...but that might be too much to ask for...

That might work with drift_sqflite as a database implementation. But that uses the sqlite3 from the OS which is typically outdated on Android and is also slower due to the overhead of platform calls.

@simolus3 simolus3 added bug Something isn't working package-devtools Related to drift's devtools extension labels Jan 25, 2024
@RoarGronmo
Copy link
Author

Is there any hope for it to be fixed soon ?

@RoarGronmo
Copy link
Author

@simolus3 I reported this in january, is there any hoper for a fix before summer ?

I see it is a very handy tool.

@simolus3
Copy link
Owner

To be honest I'm not that experienced with Flutter and I don't really understand the problem since we are using a horizontal scroll view. Contributions to fix this are welcome but I don't think I'm effective at fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working package-devtools Related to drift's devtools extension
Projects
None yet
Development

No branches or pull requests

2 participants