discourse/app/assets/javascripts
David Taylor 81d8c6ba6c
UX: Prevent initial jump when dragging topic timeline scroller (#23291)
Previously, when dragging the timeline scroller, we would position it purely based on the current cursor position. That means that if you started dragging it from anywhere other than the centre, the scroller will 'jump' suddenly to centre itself on the cursor.

This commit measures the offset of your cursor when the drag starts, and maintains it throughout the drag. So for example, if you start dragging at the bottom of the scroller and drag one pixel up, the scroller will only move by 1px.

This should make the UX much smoother, especially on large topics.
2023-08-28 15:00:32 +01:00
..
admin FIX: Improve admin plugin list and modernize code (#23256) 2023-08-28 10:48:59 +10:00
bootstrap-json DEV: Make index.html a valid html (#23289) 2023-08-28 14:44:38 +02:00
confirm-new-email DEV: Add error message styling (#21225) 2023-04-25 08:40:18 -04:00
deprecation-silencer DEV: move deprecation silencer to a shared package (#22668) 2023-07-18 19:07:20 +01:00
dialog-holder Build(deps): Bump ember-cli-babel in /app/assets/javascripts (#23157) 2023-08-21 11:27:24 +02:00
discourse UX: Prevent initial jump when dragging topic timeline scroller (#23291) 2023-08-28 15:00:32 +01:00
discourse-common Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
discourse-hbr Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
discourse-plugins Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
discourse-widget-hbs Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
docs
ember-addons
ember-cli-progress-ci
ember-production-deprecations DEV: Clean up package.json files (#22349) 2023-06-30 13:01:45 +02:00
locales UX/DEV: Review queue redesign fixes (#20239) 2023-03-02 16:40:53 +01:00
patches DEV: Update ember-cli to 5.0.0 (#22280) 2023-06-26 17:15:59 +02:00
pretty-text Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
select-kit Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
truth-helpers Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
wizard Build(deps-dev): Bump @babel/core in /app/assets/javascripts (#23224) 2023-08-25 10:51:49 +02:00
.licensee.json DEV: Update sub-dependencies (#22325) 2023-06-29 17:08:33 +02:00
.npmrc
handlebars-shim.js
js-processor.js DEV: Use esbuild to make DiscourseJsProcessor (#23223) 2023-08-24 16:36:22 +02:00
package.json DEV: Use esbuild to make DiscourseJsProcessor (#23223) 2023-08-24 16:36:22 +02:00
polyfills.js
service-worker.js.erb FIX: Ensure service-worker cache is cleaned correctly (#23204) 2023-08-23 13:58:32 +01:00
yarn.lock Build(deps-dev): Bump eslint from 8.47.0 to 8.48.0 in /app/assets/javascripts (#23281) 2023-08-28 12:58:31 +08:00