{"action":"created","issue":{"url":"https://api.github.com/repos/zengabor/zenscroll/issues/61","repository_url":"https://api.github.com/repos/zengabor/zenscroll","labels_url":"https://api.github.com/repos/zengabor/zenscroll/issues/61/labels{/name}","comments_url":"https://api.github.com/repos/zengabor/zenscroll/issues/61/comments","events_url":"https://api.github.com/repos/zengabor/zenscroll/issues/61/events","html_url":"https://github.com/zengabor/zenscroll/issues/61","id":338959333,"node_id":"MDU6SXNzdWUzMzg5NTkzMzM=","number":61,"title":"Allow disabling of default anchor scrolling","user":{"login":"AlecRust","id":247634,"node_id":"MDQ6VXNlcjI0NzYzNA==","avatar_url":"https://avatars3.githubusercontent.com/u/247634?v=4","gravatar_id":"","url":"https://api.github.com/users/AlecRust","html_url":"https://github.com/AlecRust","followers_url":"https://api.github.com/users/AlecRust/followers","following_url":"https://api.github.com/users/AlecRust/following{/other_user}","gists_url":"https://api.github.com/users/AlecRust/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecRust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecRust/subscriptions","organizations_url":"https://api.github.com/users/AlecRust/orgs","repos_url":"https://api.github.com/users/AlecRust/repos","events_url":"https://api.github.com/users/AlecRust/events{/privacy}","received_events_url":"https://api.github.com/users/AlecRust/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-06T14:25:38Z","updated_at":"2018-07-07T06:57:37Z","closed_at":null,"author_association":"NONE","body":"I have some links with `href=\"#\"` in my app, and been reading through https://github.com/zengabor/zenscroll/issues/13 and https://github.com/zengabor/zenscroll/issues/37 since I have the same issue. I want to call Zenscroll programmatically without this default behaviour.\r\n\r\nIt feels like the [Disabling automatic smoothing on local links](https://github.com/zengabor/zenscroll#disabling-automatic-smoothing-on-local-links) docs are a misleading, since `window.noZensmooth = true` doesn't actually disable the behaviour if you have `href=\"#\"` links ( which are quite common).\r\n\r\nI can't change all the `href` values in my app, and currently have no way to disable this functionality. Adding an option to `zenscroll.setup()` to fully disable this might be a solution?"},"comment":{"url":"https://api.github.com/repos/zengabor/zenscroll/issues/comments/403194136","html_url":"https://github.com/zengabor/zenscroll/issues/61#issuecomment-403194136","issue_url":"https://api.github.com/repos/zengabor/zenscroll/issues/61","id":403194136,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMzE5NDEzNg==","user":{"login":"AlecRust","id":247634,"node_id":"MDQ6VXNlcjI0NzYzNA==","avatar_url":"https://avatars3.githubusercontent.com/u/247634?v=4","gravatar_id":"","url":"https://api.github.com/users/AlecRust","html_url":"https://github.com/AlecRust","followers_url":"https://api.github.com/users/AlecRust/followers","following_url":"https://api.github.com/users/AlecRust/following{/other_user}","gists_url":"https://api.github.com/users/AlecRust/gists{/gist_id}","starred_url":"https://api.github.com/users/AlecRust/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AlecRust/subscriptions","organizations_url":"https://api.github.com/users/AlecRust/orgs","repos_url":"https://api.github.com/users/AlecRust/repos","events_url":"https://api.github.com/users/AlecRust/events{/privacy}","received_events_url":"https://api.github.com/users/AlecRust/received_events","type":"User","site_admin":false},"created_at":"2018-07-07T06:57:37Z","updated_at":"2018-07-07T06:57:37Z","author_association":"NONE","body":"`window.noZensmooth = true` doesn’t work for me, I’m `require`ing Zenscroll and wherever I try to disable it within my app doesn’t work.\r\n\r\nSeems the disabling only works in the simpler case where you can control load order? Shouldn’t setting that property always work even if it’s set later?"}}
{"actor":{"display_login":"AlecRust"}}