The issue that was reported and fixed in T324460: Search Preview: Search Preview doesn't work for articles with special characters in the title is present on mobile.
Steps to reproduce:
- On enwiki betalabs mobile Special:Search page with &quickViewEnableMobile=1 search for Alexander's kusimanse
- Open the QuickView for Alexander's kusimanse - QuickView for Alexander's kusimanse
The Console displays two errors:
DOMException: Failed to execute 'querySelector' on 'Document': '[data-title='Alexander's kusimanse']' is not a valid selector. TypeError: Cannot read properties of null (reading 'nextSibling')
(another example) - search for Geoffroy's cat and open the QuickView: QuickView for Geoffroy's cat.
- After attempting to open a SearchPreview for an article with an apostrophe in the title (which won't open), all other attempts to open others articles' search previews will fail too.
The Console displays:
- on clicking on the arrow to try to open PreviewSearch (the arrow is displayed as open): TypeError: Cannot read properties of null (reading 'nextSibling')
- then, clicking on the arrow to close: TypeError: Cannot read properties of null (reading 'emitsOptions')