René's URL Explorer Experiment


Title: Bug - Code Editor - React basic read-only sample does not match HTML sample · Issue #12441 · patternfly/patternfly-react · GitHub

Open Graph Title: Bug - Code Editor - React basic read-only sample does not match HTML sample · Issue #12441 · patternfly/patternfly-react

X Title: Bug - Code Editor - React basic read-only sample does not match HTML sample · Issue #12441 · patternfly/patternfly-react

Description: Describe the problem There is a visual styling mismatch between the React and HTML implementations of the Code Editor component in a read-only state. Specifically, the React "Basic" sample (when set to read-only) does not match the styli...

Open Graph Description: Describe the problem There is a visual styling mismatch between the React and HTML implementations of the Code Editor component in a read-only state. Specifically, the React "Basic" sample (when se...

X Description: Describe the problem There is a visual styling mismatch between the React and HTML implementations of the Code Editor component in a read-only state. Specifically, the React "Basic" sampl...

Opengraph URL: https://github.com/patternfly/patternfly-react/issues/12441

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Bug - Code Editor - React basic read-only sample does not match HTML sample","articleBody":"**Describe the problem**\nThere is a visual styling mismatch between the React and HTML implementations of the Code Editor component in a read-only state. Specifically, the React \"Basic\" sample (when set to read-only) does not match the styling shown on the HTML \"Read-only\" version. The HTML version renders the code area with a distinct gray background to signify its read-only status, whereas the React version only applies a gray border, leaving the code area background white.\n\n**How do you reproduce the problem?**\n\n- Navigate to the PatternFly React Code Editor documentation (https://www.patternfly.org/components/code-editor#basic).\n\n- View the \"Basic\" example or configure a basic Code Editor with the isReadOnly prop set to true.\n\n- Observe the background color of the code input area (it remains white/transparent with only a gray border).\n\n- Navigate to the PatternFly HTML Code Editor documentation (https://www.patternfly.org/components/code-editor/html#read-only).\n\n- Observe that the HTML version applies a full gray background variant (.pf-v5-c-code-editor.pf-m-read-only or equivalent utility) to the entire editor body.\n\n**Expected behavior**\nThe React CodeEditor component should visually match the HTML implementation when isReadOnly is active. It should render with the full gray background variant across the code area, consistently indicating to the user that the text cannot be edited.\n\n**Is this issue blocking you?**\nNo, it is not strictly blocking, but it creates visual inconsistency across our application's forms.\nWorkaround: Manually passing a custom class or inline styles to force the background color to match the PatternFly read-only token variables.\n\n**Screenshots**\n\n![image](https://github.com/user-attachments/assets/0977e531-5ffe-45d7-9055-a108e6066704)\n\n![image](https://github.com/user-attachments/assets/e4aadce8-0d7c-408b-89cf-06ff7eca2dad)\n\n**What is your environment?**\n - OS: macOS Sonoma\n - Browser: Chrome\n - Version: 6.5.1\n\n**What is your product and what release date are you targeting?**\nRHOAI 3.5\n\n**Any other information?**\nIt appears the React wrapper might not be mapping the isReadOnly prop to the correct modifier class (pf-m-read-only) on the outer container element that the HTML version utilizes.\n\n---\n\n**Jira Issue:** [PF-4267](https://redhat.atlassian.net/browse/PF-4267)","author":{"url":"https://github.com/Misjohns","@type":"Person","name":"Misjohns"},"datePublished":"2026-06-04T13:50:05Z","url":"https://github.com/patternfly/patternfly-react/issues/12441"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:42f13cef-c3f7-edfa-767c-c4c16fd6a169
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A4A:1C6C3E:C02EF9:FEB5FF:6B00F21C
html-safe-nonce12a05743ebafa547082ebd52e3db4ee582701e0db842776a4ee945adde4a9357
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTRBOjFDNkMzRTpDMDJFRjk6RkVCNUZGOjZCMDBGMjFDIiwidmlzaXRvcl9pZCI6IjExNjAxOTMzMTk4MjU4OTU5NjQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc0de7b492b3fb9106da6d074355bfd73f727bfe9a4e59eb0149c48c5b550813f
hovercard-subject-tagissue:4589249435
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/patternfly/patternfly-react/12441/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e29719fe1313f9f63905f8cb85d7402e4c01712df70c4fc773becb06ce312863/patternfly/patternfly-react/issues/12441
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e29719fe1313f9f63905f8cb85d7402e4c01712df70c4fc773becb06ce312863/patternfly/patternfly-react/issues/12441
og:image:altDescribe the problem There is a visual styling mismatch between the React and HTML implementations of the Code Editor component in a read-only state. Specifically, the React "Basic" sample (when se...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameMisjohns
hostnamegithub.com
expected-hostnamegithub.com
None4ef498cbabcbe3c50befc7a5b743e7072ee770b4daf0e15e54801180d1fa91fc
turbo-cache-controlno-preview
go-importgithub.com/patternfly/patternfly-react git https://github.com/patternfly/patternfly-react.git
octolytics-dimension-user_id6391110
octolytics-dimension-user_loginpatternfly
octolytics-dimension-repository_id84372347
octolytics-dimension-repository_nwopatternfly/patternfly-react
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id84372347
octolytics-dimension-repository_network_root_nwopatternfly/patternfly-react
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release9983dd5da06943f833c971dd5b6bc988e2858be5
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/patternfly/patternfly-react/issues/12441#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatternfly%2Fpatternfly-react%2Fissues%2F12441
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpatternfly%2Fpatternfly-react%2Fissues%2F12441
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=patternfly%2Fpatternfly-react
Reloadhttps://github.com/patternfly/patternfly-react/issues/12441
Reloadhttps://github.com/patternfly/patternfly-react/issues/12441
Reloadhttps://github.com/patternfly/patternfly-react/issues/12441
patternflyhttps://github.com/patternfly
patternfly-reacthttps://github.com/patternfly/patternfly-react
Codehttps://github.com/patternfly/patternfly-react
Issues222 (222)https://github.com/patternfly/patternfly-react/issues
Pull requests36 (36)https://github.com/patternfly/patternfly-react/pulls
Discussionshttps://github.com/patternfly/patternfly-react/discussions
Actionshttps://github.com/patternfly/patternfly-react/actions
Projectshttps://github.com/patternfly/patternfly-react/projects
Wikihttps://github.com/patternfly/patternfly-react/wiki
Security and qualityhttps://github.com/patternfly/patternfly-react/security
Insightshttps://github.com/patternfly/patternfly-react/insights
https://github.com/patternfly/patternfly-react
New issuehttps://github.com/login?return_to=https://github.com/patternfly/patternfly-react/issues/12441
New issuehttps://github.com/login?return_to=https://github.com/patternfly/patternfly-react/issues/12441
Bughttps://github.com/patternfly/patternfly-react/issues?q=type:"Bug"
Bug - Code Editor - React basic read-only sample does not match HTML samplehttps://github.com/patternfly/patternfly-react/issues/12441#top
Stalehttps://github.com/patternfly/patternfly-react/issues?q=state%3Aopen%20label%3A%22Stale%22
https://github.com/Misjohns
Misjohnshttps://github.com/Misjohns
on Jun 4, 2026https://github.com/patternfly/patternfly-react/issues/12441#issue-4589249435
https://www.patternfly.org/components/code-editor#basichttps://www.patternfly.org/components/code-editor#basic
https://www.patternfly.org/components/code-editor/html#read-onlyhttps://www.patternfly.org/components/code-editor/html#read-only
https://private-user-images.githubusercontent.com/97301019/602877699-0977e531-5ffe-45d7-9055-a108e6066704.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMjQzOTMsIm5iZiI6MTc5NTIyNDA5MywicGF0aCI6Ii85NzMwMTAxOS82MDI4Nzc2OTktMDk3N2U1MzEtNWZmZS00NWQ3LTkwNTUtYTEwOGU2MDY2NzA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDAxMjEzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTc2YmNlMmZiMDI0Mzg5MDYzYTNlNzFmMDE4NzI0MTRjMGVkMzg1Y2U3MzlmN2Y3ZGVkYzI0NTYyODNkYmY4YzImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.wf-Q_6yeuP2ZUytXEVAzYKkfSlaXfMhmkAC-s6TUC4w
https://private-user-images.githubusercontent.com/97301019/602877697-e4aadce8-0d7c-408b-89cf-06ff7eca2dad.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTUyMjQzOTMsIm5iZiI6MTc5NTIyNDA5MywicGF0aCI6Ii85NzMwMTAxOS82MDI4Nzc2OTctZTRhYWRjZTgtMGQ3Yy00MDhiLTg5Y2YtMDZmZjdlY2EyZGFkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNjExMjElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjYxMTIxVDAxMjEzM1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTZmMDhhYzVmYmM4M2YxYTZhNTQzZjJjNTRmYTI4NGUwZTBhNWJjMzUyMTFiZDNhMjExNzY0MDE3Mjg2YjAwODYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JnJlc3BvbnNlLWNvbnRlbnQtdHlwZT1pbWFnZSUyRnBuZyJ9.H5VqSzPPlC6CA1TprrREqhD__E792DHmdEEJKWRXeEo
PF-4267https://redhat.atlassian.net/browse/PF-4267
Misjohnshttps://github.com/Misjohns
Bughttps://github.com/patternfly/patternfly-react/issues?q=type:"Bug"
on Jun 4, 2026https://github.com/patternfly/patternfly-react/issues/12441#event-26340004240
patternfly-buildhttps://github.com/patternfly-build
PatternFly Issueshttps://github.com/orgs/patternfly/projects/7
on Jun 4, 2026https://github.com/patternfly/patternfly-react/issues/12441#event-26340013110
github-project-automationhttps://github.com/apps/github-project-automation
PatternFly Issueshttps://github.com/orgs/patternfly/projects/7
on Jun 4, 2026https://github.com/patternfly/patternfly-react/issues/12441
https://github.com/apps/coderabbitai
coderabbitaihttps://github.com/apps/coderabbitai
on Jun 4, 2026https://github.com/patternfly/patternfly-react/issues/12441#issuecomment-4622764107
coderabbitaihttps://coderabbit.ai?utm_source=cr_app&utm_medium=github
#12212https://github.com/patternfly/patternfly-react/pull/12212
#12384https://github.com/patternfly/patternfly-react/pull/12384
discordhttps://discord.gg/coderabbit
https://github.com/apps/github-actions
github-actionshttps://github.com/apps/github-actions
on Aug 8, 2026https://github.com/patternfly/patternfly-react/issues/12441#issuecomment-5225992147
GitHub Actionshttps://help.github.com/en/actions
github-actionshttps://github.com/apps/github-actions
Stalehttps://github.com/patternfly/patternfly-react/issues?q=state%3Aopen%20label%3A%22Stale%22
on Aug 8, 2026https://github.com/patternfly/patternfly-react/issues/12441#event-29157737931
Sign up for freehttps://github.com/signup?return_to=https://github.com/patternfly/patternfly-react/issues/12441
Sign in to commenthttps://github.com/login?return_to=https://github.com/patternfly/patternfly-react/issues/12441
Stalehttps://github.com/patternfly/patternfly-react/issues?q=state%3Aopen%20label%3A%22Stale%22
Bughttps://github.com/patternfly/patternfly-react/issues?q=type:"Bug"
PatternFly Issueshttps://github.com/orgs/patternfly/projects/7
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.