Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Text fragment stripped from nextjs app #84456

Open
Assignees
icyJoseph
@rottabonus

Description

@rottabonus

Link to the code that reproduces this issue

https://github.com/rottabonus/next-text-fragment-repro/tree/main

To Reproduce

  1. Prerequisites: docker
  2. Clone the repo
  3. Build images and start docker-compose stack withdocker compose up
  4. Check the application urls
http://localhost:3000/#:~:text=flaskhttp://localhost:3001/#:~:text=nexthttp://localhost:3002/#:~:text=astro

Notice that the text-fragment is stripped on the nextjs-application

Current vs. Expected behavior

The text fragment feature is not a standard, but maybe thewicg proposal should be now the expected behaviour:
It is recommended that the text fragment be displayed in the location bar’s URL even if a match wasn’t located in the document.

Provide environment information

Node.js v24.7.0Operating System:  Platform: darwin  Arch: arm64  Version: Darwin Kernel Version 24.5.0: Tue Apr 22 19:54:25 PDT 2025; root:xnu-11417.121.6~2/RELEASE_ARM64_T6020  Available memory (MB): 32768  Available CPU cores: 12Binaries:  Node: 24.7.0  npm: 11.5.1  Yarn: 1.22.22  pnpm: N/ARelevant Packages:  next: 15.5.4 // Latest available version is detected (15.5.4).  eslint-config-next: N/A  react: 19.2.0  react-dom: 19.2.0  typescript: 5.9.3Next.js Config:  output:export

Which area(s) are affected? (Select all that apply)

Not sure

Which stage(s) are affected? (Select all that apply)

Other (Deployed)

Additional context

This feature works well with multiple different sites, here are some examples

But also are sites where this text is stripped..

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp