Preview is requesting multiple clicks on the WP "Preview Changes" button in order for GraphQL to return the correct preview values.
Steps to reproduce
Clean WP install
Installed: Advanced Custom Fields PRO 6.3.8, Classic Editor 1.6.5, WPGraphQL 1.28.1, WPGraphQL for ACF 2.4.1
Added one test ACF field to post types "page" (JSON included below)
Created 2 test pages
I get different behavior between the two pages.
On one of them preview works as expected.
On the other page, if I edit the AFC field content, click preview and then make a GraphQL request, it returns the published value, if I click on preview again, it returns the preview value. If I then make another edit and click preview, GraphQL returns the original published value again, so I have to click preview a second time to get the preview value to actually show in the GraphQL response.
I could not figure out why both pages behave differently since nothing different was done when I created both of them up.
Description
Preview is requesting multiple clicks on the WP "Preview Changes" button in order for GraphQL to return the correct preview values.
Steps to reproduce
I get different behavior between the two pages. On one of them preview works as expected. On the other page, if I edit the AFC field content, click preview and then make a GraphQL request, it returns the published value, if I click on preview again, it returns the preview value. If I then make another edit and click preview, GraphQL returns the original published value again, so I have to click preview a second time to get the preview value to actually show in the GraphQL response. I could not figure out why both pages behave differently since nothing different was done when I created both of them up.
PHP or JSON export of the ACF Field Group(s)
Additional context
No response
WPGraphQL Version
1.28.1
WPGraphQL For ACF Version
2.4.1
ACF (Advanced Custom Fields) Version. Free or Pro?
6.3.8 Pro
WordPress Version
6.6.2
PHP Version
8.2.21
Additional enviornment details
No response
Please confirm that you have searched existing issues in the repo.
Please confirm that you have disabled ALL plugins except for WPGraphQL, WPGraphQL For ACF, ACF, etc.