Files.app: Add touch feedback on breadcrumbs.
- When the bread crumbs is updated, we need to keep DOMs for the common path prefix to continue the animation for touch feedback. - Made each crumbs as <button>, so I removed the unnecessary event listener for 'keydown' in location_line.js. - Fixed minor issue on truncation algorithm, to prevent crumbs from being too small (smaller than '...'). BUG=446616 TEST=manual test: Check the animation on touch on breadcrumbs, and Check the truncation when window width is changed. Review URL: https://codereview.chromium.org/1026693003 Cr-Commit-Position: refs/heads/master@{#321554}
Showing
Please register or sign in to comment