[PR #2847] [MERGED] fix: errors on opening json outline #4108

Closed
opened 2026-03-17 01:40:26 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/hoppscotch/hoppscotch/pull/2847
Author: @amk-dev
Created: 10/31/2022
Status: Merged
Merged: 10/31/2022
Merged by: @AndrewBastin

Base: mainHead: fix/tippy-ref-v-for-index


📝 Commits (1)

  • fd33909 fix: use index when accessing v-for refs

📊 Changes

1 file changed (+1 additions, -1 deletions)

View changed files

📝 packages/hoppscotch-app/src/components/lenses/renderers/JSONLensRenderer.vue (+1 -1)

📄 Description

Before
Calling tippyActions.focus() was failing because tippyActions was a ref inside a v-for, and hence an array of tippyActions refs.

After
Use indexes to access refs inside a v-for


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/hoppscotch/hoppscotch/pull/2847 **Author:** [@amk-dev](https://github.com/amk-dev) **Created:** 10/31/2022 **Status:** ✅ Merged **Merged:** 10/31/2022 **Merged by:** [@AndrewBastin](https://github.com/AndrewBastin) **Base:** `main` ← **Head:** `fix/tippy-ref-v-for-index` --- ### 📝 Commits (1) - [`fd33909`](https://github.com/hoppscotch/hoppscotch/commit/fd339091fd5fbe4f3aca726609690f743bc6d02d) fix: use index when accessing v-for refs ### 📊 Changes **1 file changed** (+1 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `packages/hoppscotch-app/src/components/lenses/renderers/JSONLensRenderer.vue` (+1 -1) </details> ### 📄 Description **Before** Calling `tippyActions.focus()` was failing because tippyActions was a ref inside a v-for, and hence an array of tippyActions refs. **After** Use indexes to access refs inside a v-for --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-17 01:40:26 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/hoppscotch#4108
No description provided.