Fix search not working on mobile because of undefined ref#6706
Merged
FreeTubeBot merged 3 commits intoFreeTubeApp:developmentfrom Mar 4, 2025
Merged
Conversation
PikachuEXE
previously approved these changes
Feb 1, 2025
Member
|
Looking at the commit where it was removed, which you linked the ref was actually on another element back then, specifically the |
Member
|
Contributor
Author
|
i am aware, but i haven't gotten around to applying the changes. |
Contributor
|
This PR is stale because it has been open 14 days with no activity. Remove stale label or comment or this will be closed in 14 days. |
This comment has been minimized.
This comment has been minimized.
efb4f5ff-1298-471a-8973-3d47447115dc
approved these changes
Mar 4, 2025
absidue
approved these changes
Mar 4, 2025
kommunarr
approved these changes
Mar 4, 2025
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Mar 5, 2025
* fix-legacy-alone: Allow legacy formats to be used even when dash and audio-only are unavailable Fix search not working on mobile because of undefined ref (FreeTubeApp#6706) Bump bgutils-js from 3.1.3 to 3.2.0 (FreeTubeApp#6960) Bump copy-webpack-plugin from 12.0.2 to 13.0.0 (FreeTubeApp#6964) Bump babel-loader from 9.2.1 to 10.0.0 in the babel group (FreeTubeApp#6957) Bump yaml-eslint-parser from 1.2.3 to 1.3.0 in the eslint group (FreeTubeApp#6958) Bump lefthook from 1.11.0 to 1.11.2 (FreeTubeApp#6961) Bump sass from 1.85.0 to 1.85.1 (FreeTubeApp#6965) Bump stylelint from 16.14.1 to 16.15.0 in the stylelint group (FreeTubeApp#6959) Bump electron from 34.2.0 to 34.3.0 (FreeTubeApp#6962) Bump shaka-player from 4.13.4 to 4.13.6 (FreeTubeApp#6963) Translated using Weblate (Welsh) Fix search suggestions error for long search queries (FreeTubeApp#6955) Fix ctrl+click to reset playback rate not working (FreeTubeApp#6943) Translated using Weblate (Romanian) IV RSS Subscriptions: properly detect `error channels` (FreeTubeApp#4407) Translated using Weblate (Romanian) Move screenshot fallback path handling to the main process (FreeTubeApp#6945) Translated using Weblate (Romanian)
PikachuEXE
added a commit
to PikachuEXE/FreeTube
that referenced
this pull request
Mar 11, 2025
* development: (97 commits) Translated using Weblate (German) Translated using Weblate (Czech) Translated using Weblate (Basque) Translated using Weblate (Hungarian) Translated using Weblate (Chinese (Simplified Han script)) Translated using Weblate (Japanese) Translated using Weblate (Estonian) Translated using Weblate (Portuguese (Brazil)) Bump the eslint group with 4 updates (FreeTubeApp#6985) Add support for channel's `Courses` tab (FreeTubeApp#6641) Bump electron from 34.3.0 to 35.0.1 (FreeTubeApp#6986) Bump shaka-player from 4.13.6 to 4.13.8 (FreeTubeApp#6990) Bump css-minimizer-webpack-plugin from 7.0.0 to 7.0.2 (FreeTubeApp#6988) Bump swiper from 11.2.4 to 11.2.5 (FreeTubeApp#6989) Bump lefthook from 1.11.2 to 1.11.3 (FreeTubeApp#6987) Update Invidious DASH xtags handling for YouTube.js changes (FreeTubeApp#6944) Translated using Weblate (French) Allow legacy formats to be used even when dash and audio-only are unavailable (FreeTubeApp#6977) Translated using Weblate (Hungarian) Fix search not working on mobile because of undefined ref (FreeTubeApp#6706) ...
doublecrow
pushed a commit
to doublecrow/FreeTube
that referenced
this pull request
Mar 28, 2025
…p#6706) * Fix search not working because of undefined ref * Add back missing ref * move ref to correct spot --------- Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
efb4f5ff-1298-471a-8973-3d47447115dc
pushed a commit
to efb4f5ff-1298-471a-8973-3d47447115dc/FreeTube
that referenced
this pull request
Jul 12, 2025
…p#6706) * Fix search not working because of undefined ref * Add back missing ref * move ref to correct spot --------- Co-authored-by: ChunkyProgrammer <78101139+ChunkyProgrammer@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fix search not working on mobile because of undefined ref
Pull Request Type
Description
I noticed that there was an error happening on mobile when trying to search.
vue.runtime.esm.js:3106 TypeError: Cannot read properties of undefined (reading 'blur')The line that traces back to is here:
FreeTube/src/renderer/components/top-nav/top-nav.js
Line 220 in bfa22f4
Looking into the component's template, I couldn't find a ref that matched it. Looking at the history, it looks like at one point the ref was on this element with the
searchContainerclass.8e72e7f#diff-07257d469f27c18e3d2c97c8c867fe787ee304ee7fbb6a3daffb80600a8183f9R71
This PR adds back this
ref="searchContainer"to prevent that error and fix the search on mobile.closes #6765
Testing
Desktop
Additional context
i definitely have fixed this in my fork by just adding a null check, but looking into it, this seems like the true fix.