0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-02-24 23:48:13 -05:00
ghost/apps/comments-ui/src
Kevin Ansfield dd3bc06761
🐛 Fixed comments block disappearing when performing certain actions (#19846)
closes https://linear.app/tryghost/issue/ENG-739

- `props.innerRef` in `<IFrame>` was inadvertently assumed to always exist, sometimes throwing an error on render when certain popups like the profile settings modal were opened resulting in the app crashing and the whole comments block disappearing
- added a guard to ensure the ref exists before trying to set it
- updated tests so the profile modal route is tested
2024-03-12 17:39:36 +00:00
..
components 🐛 Fixed comments block disappearing when performing certain actions (#19846) 2024-03-12 17:39:36 +00:00
images/icons Added in a hover state for editng bio 2022-08-08 16:22:46 +01:00
styles Migrated from Webpack to Vite and updated dependencies 2023-06-21 15:28:01 +02:00
utils Switched to default ordering for comments API requests (#19774) 2024-02-28 18:42:02 +00:00
actions.ts Converted Comments-UI App to TypeScript and React hooks (#17760) 2023-08-18 13:30:59 +00:00
App.tsx Added lazy-loading of admin auth in Comments UI (#19799) 2024-03-05 15:57:20 +00:00
AppContext.ts Extended translations beta to comments (#17801) 2023-08-24 10:33:03 +02:00
AuthFrame.tsx Re-enabled general eslint rules in TS config 2023-09-08 13:47:42 +02:00
index.tsx Converted Comments-UI App to TypeScript and React hooks (#17760) 2023-08-18 13:30:59 +00:00
pages.ts Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
setupTests.ts Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
typings.d.ts Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00
vite-env.d.ts Migrated Comments-UI to TypeScript (#17129) 2023-06-27 14:51:37 +02:00