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

Scroll #75

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Scroll #75

wants to merge 3 commits into from

Conversation

mcmah309
Copy link

Adds a hook to react to root scrolling

@DogeDark DogeDark self-requested a review March 31, 2025 20:35
@marc2332 marc2332 added the enhancement New feature or request label Apr 5, 2025
Comment on lines +69 to +73
let future_callback_name = callback_name.clone();
use_future(move || {
let future_callback_name = future_callback_name.clone();
async move {
let callback_name = future_callback_name;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a suggestion to simplify this part:

Suggested change
let future_callback_name = callback_name.clone();
use_future(move || {
let future_callback_name = future_callback_name.clone();
async move {
let callback_name = future_callback_name;
use_future({
to_owned![callback_name];
move || {
to_owned![callback_name];
async move {

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants