-
Notifications
You must be signed in to change notification settings - Fork 417
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix #10910 search bar overlap gfi panel #10913
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@MV88
The issue still persists
(currentContext, contextPlugins = {}) => !currentContext || | ||
findIndex(get(contextPlugins, 'desktop', []), plugin => plugin.name === pluginName) > -1 | ||
); | ||
export const isPluginInContext = pluginName => state => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is the memoization of createSelector
causing issue?
@@ -261,7 +261,7 @@ export const zoomToVisibleAreaEpic = (action$, store) => | |||
const state = store.getState(); | |||
const hideIdentifyPopupIfNoResults = hideEmptyPopupSelector(state); | |||
const hoverIdentifyActive = isMouseMoveIdentifyActiveSelector(state); | |||
const noResultFeatures = loadFeatInfoAction.type === LOAD_FEATURE_INFO && loadFeatInfoAction?.data?.includes("no features were found"); | |||
const noResultFeatures = loadFeatInfoAction.type === LOAD_FEATURE_INFO && loadFeatInfoAction?.data?.includes?.("no features were found"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
const noResultFeatures = loadFeatInfoAction.type === LOAD_FEATURE_INFO && loadFeatInfoAction?.data?.includes?.("no features were found"); | |
const noResultFeatures = loadFeatInfoAction.type === LOAD_FEATURE_INFO && typeof loadFeatInfoAction?.data === "string" && loadFeatInfoAction?.data?.includes("no features were found"); |
For readability purpose, can we do this instead?
Description
I noticed that the value of isIdentifyInContext was incorrectly set to false and no longer being updated this was making the selector isMapinfoOpen here in the mapLayout epic to be false and therefore ignored for moving away the search bar with correct style properties
I also fixed another error in console

Please check if the PR fulfills these requirements
What kind of change does this PR introduce? (check one with "x", remove the others)
Issue
What is the current behavior?
Fix #10910
What is the new behavior?
it works fine, also tested by closing gfi and opening catalog
Breaking change
Does this PR introduce a breaking change? (check one with "x", remove the other)
Other useful information